llama : deprecate llama_set_warmup (#24009)

* llama : deprecate `llama_set_warmup`

* cont : fix type

Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>

---------

Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
This commit is contained in:
Georgi Gerganov
2026-06-02 10:30:38 +03:00
committed by GitHub
parent 8f7f3bf141
commit 4f3a4beb8d
4 changed files with 6 additions and 7 deletions

View File

@@ -107,8 +107,6 @@ struct test_context {
throw std::runtime_error("failed to create context");
}
llama_set_warmup(ctx.get(), false);
vocab = llama_model_get_vocab(model);
n_vocab = llama_vocab_n_tokens(vocab);
}