diff --git a/common/sampling.cpp b/common/sampling.cpp index 596bd24608916..6f7027114d565 100644 --- a/common/sampling.cpp +++ b/common/sampling.cpp @@ -232,10 +232,8 @@ static llama_token llama_sampling_sample_impl( const gpt_sampling_params & params = ctx_sampling->params; - const float temp = params.temp; - const int mirostat = params.mirostat; - const float mirostat_tau = params.mirostat_tau; - const float mirostat_eta = params.mirostat_eta; + const float temp = params.temp; + const int mirostat = params.mirostat; std::vector original_logits; auto cur_p = llama_sampling_prepare(ctx_sampling, ctx_main, ctx_cfg, idx, /* apply_grammar= */ is_resampling, &original_logits);