]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
enable --special arg for llama-server (#9419)
authormatteo <redacted>
Tue, 10 Sep 2024 20:40:59 +0000 (22:40 +0200)
committerGitHub <redacted>
Tue, 10 Sep 2024 20:40:59 +0000 (22:40 +0200)
Co-authored-by: matteo serva <redacted>
common/arg.cpp

index ca569494f35af1dccf4405450dfa11c7511ec40f..588571f1b9b198b44159fe63ae27747650bc3055 100644 (file)
@@ -818,7 +818,7 @@ gpt_params_context gpt_params_parser_init(gpt_params & params, llama_example ex,
         [](gpt_params & params) {
             params.special = true;
         }
-    ).set_examples({LLAMA_EXAMPLE_MAIN}));
+    ).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER}));
     add_opt(llama_arg(
         {"-cnv", "--conversation"},
         format(