From 1682af3c4df73064aed3c188a3f6bd89de5ffcfe Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Thu, 15 Aug 2024 10:57:46 +0300 Subject: [PATCH] cont : fix build ggml-ci --- common/sampling.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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);