Correctly accumulate sampling time for adaptive_p

This commit is contained in:
Kawrakow
2026-01-19 10:17:07 +00:00
parent 61eccfcf0d
commit a96e5449cc
5 changed files with 20 additions and 10 deletions

View File

@@ -1389,7 +1389,7 @@ LLAMA_API struct llama_grammar* llama_sampler_init_grammar_lazy_patterns(
const float decay,
const uint32_t seed);
void llama_prep_adaptive_p(
void llama_prep_adaptive_p(struct llama_context * ctx,
llama_token_data_array * candidates,
struct llama_sampler_adaptive_p * adapt_p_ctx);