From: Ben Guidarelli Date: Thu, 30 Apr 2026 14:32:32 +0000 (-0400) Subject: spec: fix argument typo (#22552) X-Git-Tag: upstream/0.0.10438~1449 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=c20c44514a06a3fd70e3d2e8b830812047360e5b;p=pkg%2Fggml%2Fsources%2Fllama.cpp spec: fix argument typo (#22552) --- diff --git a/common/arg.cpp b/common/arg.cpp index 943d0766f..c21598e76 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -3499,7 +3499,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex ).set_spec().set_examples({LLAMA_EXAMPLE_SPECULATIVE, LLAMA_EXAMPLE_LOOKUP, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_CLI}).set_env("LLAMA_ARG_SPEC_DRAFT_N_MIN")); add_opt(common_arg( - {"--spec--draft-p-split", "--draft-p-split"}, "P", + {"--spec-draft-p-split", "--draft-p-split"}, "P", string_format("speculative decoding split probability (default: %.2f)", (double)params.speculative.draft.p_split), [](common_params & params, const std::string & value) { params.speculative.draft.p_split = std::stof(value);