From c20c44514a06a3fd70e3d2e8b830812047360e5b Mon Sep 17 00:00:00 2001 From: Ben Guidarelli Date: Thu, 30 Apr 2026 10:32:32 -0400 Subject: [PATCH] spec: fix argument typo (#22552) --- common/arg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);