Skip to content

Commit

Permalink
cont : fix build
Browse files Browse the repository at this point in the history
ggml-ci
  • Loading branch information
ggerganov committed Aug 15, 2024
1 parent 7a9bf68 commit 1682af3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions common/sampling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<float> original_logits;
auto cur_p = llama_sampling_prepare(ctx_sampling, ctx_main, ctx_cfg, idx, /* apply_grammar= */ is_resampling, &original_logits);
Expand Down

0 comments on commit 1682af3

Please sign in to comment.