remove params.warmup and enable the warmup/nowarmup option

This commit is contained in:
Daniel Bevenius 2026-01-02 07:48:23 +01:00
parent dc6964feb0
commit 88d1958c4f
No known key found for this signature in database
2 changed files with 1 additions and 2 deletions

View File

@ -1397,7 +1397,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
[](common_params & params, bool value) {
params.warmup = value;
}
).set_examples({LLAMA_EXAMPLE_COMPLETION, LLAMA_EXAMPLE_CLI, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_MTMD, LLAMA_EXAMPLE_EMBEDDING, LLAMA_EXAMPLE_RETRIEVAL, LLAMA_EXAMPLE_PERPLEXITY}));
).set_examples({LLAMA_EXAMPLE_COMPLETION, LLAMA_EXAMPLE_CLI, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_MTMD, LLAMA_EXAMPLE_EMBEDDING, LLAMA_EXAMPLE_RETRIEVAL, LLAMA_EXAMPLE_PERPLEXITY, LLAMA_EXAMPLE_DEBUG}));
add_opt(common_arg(
{"--spm-infill"},
string_format(

View File

@ -368,7 +368,6 @@ int main(int argc, char ** argv) {
llama_backend_init();
llama_numa_init(params.numa);
params.warmup = false;
callback_data cb_data(params, params.tensor_filter);
auto llama_init = common_init_from_params(params);