summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/sampling.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/sampling.cpp b/common/sampling.cpp
index 844ad7c5..82cbdece 100644
--- a/common/sampling.cpp
+++ b/common/sampling.cpp
@@ -127,8 +127,6 @@ static void sampler_queue(
const llama_sampling_params & params,
llama_token_data_array & cur_p,
size_t & min_keep) {
- const int n_vocab = llama_n_vocab(llama_get_model(ctx_main));
-
const float temp = params.temp;
const float dynatemp_range = params.dynatemp_range;
const float dynatemp_exponent = params.dynatemp_exponent;