]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
spec: fix argument typo (#22552)
authorBen Guidarelli <redacted>
Thu, 30 Apr 2026 14:32:32 +0000 (10:32 -0400)
committerGitHub <redacted>
Thu, 30 Apr 2026 14:32:32 +0000 (17:32 +0300)
common/arg.cpp

index 943d0766fb2c16de55b7626f2ee2ded86bfd3f87..c21598e7687f7014d68c307d294e45c37a4151d3 100644 (file)
@@ -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);