Skip to content

Commit 2266205

Browse files
ggerganovjordankanter
authored andcommitted
common : fix compile warning
1 parent aab26bd commit 2266205

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

common/sampling.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ static void sampler_queue(
127127
const llama_sampling_params & params,
128128
llama_token_data_array & cur_p,
129129
size_t & min_keep) {
130-
const int n_vocab = llama_n_vocab(llama_get_model(ctx_main));
131-
132130
const float temp = params.temp;
133131
const float dynatemp_range = params.dynatemp_range;
134132
const float dynatemp_exponent = params.dynatemp_exponent;

0 commit comments

Comments
 (0)