|
|
@@ -3163,7 +3163,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
|
|
params.speculative.cpuparams.n_threads = std::thread::hardware_concurrency();
|
|
|
}
|
|
|
}
|
|
|
- ).set_examples({LLAMA_EXAMPLE_SPECULATIVE}));
|
|
|
+ ).set_examples({LLAMA_EXAMPLE_SPECULATIVE, LLAMA_EXAMPLE_SERVER}));
|
|
|
add_opt(common_arg(
|
|
|
{"-tbd", "--threads-batch-draft"}, "N",
|
|
|
"number of threads to use during batch and prompt processing (default: same as --threads-draft)",
|
|
|
@@ -3173,7 +3173,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
|
|
params.speculative.cpuparams_batch.n_threads = std::thread::hardware_concurrency();
|
|
|
}
|
|
|
}
|
|
|
- ).set_examples({LLAMA_EXAMPLE_SPECULATIVE}));
|
|
|
+ ).set_examples({LLAMA_EXAMPLE_SPECULATIVE, LLAMA_EXAMPLE_SERVER}));
|
|
|
add_opt(common_arg(
|
|
|
{"-Cd", "--cpu-mask-draft"}, "M",
|
|
|
"Draft model CPU affinity mask. Complements cpu-range-draft (default: same as --cpu-mask)",
|