tests : fix compile warnings

ggml-ci
This commit is contained in:
Georgi Gerganov 2025-01-17 15:22:36 +02:00
parent 72dc7bff4d
commit ce293d837c
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 9 additions and 12 deletions

View file

@ -144,7 +144,6 @@ static void test_penalties(
sampler_tester tester(probs, probs_expected);
const size_t n_vocab = probs.size();
auto * sampler = llama_sampler_init_penalties(last_tokens.size(), repeat_penalty, alpha_frequency, alpha_presence);
for (size_t i = 0; i < last_tokens.size(); i++) {