eagle3: support --eagle3 in llama-cli

This commit is contained in:
ruixiangw
2026-02-28 00:33:54 +00:00
parent b8ab2cc559
commit 07e2c9707c
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -3352,7 +3352,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
[](common_params & params) {
params.speculative.eagle3 = true;
}
).set_examples({LLAMA_EXAMPLE_SPECULATIVE}));
).set_examples({LLAMA_EXAMPLE_SPECULATIVE, LLAMA_EXAMPLE_CLI}));
add_opt(common_arg(
{"-cd", "--ctx-size-draft"}, "N",
string_format("size of the prompt context for the draft model (default: %d, 0 = loaded from model)", params.speculative.n_ctx),