Skip to content

Commit 6f5d924

Browse files
authored
common : Update the docs on -t --threads (ggml-org#16236)
* Update the docs on -t --threads * Revert "Update the docs on -t --threads" This reverts commit eba9734. * docs: clarify -t/--threads parameter uses CPU threads and defaults to all available cores * Update arg.cpp
1 parent adc9b60 commit 6f5d924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/arg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
17601760
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SPECULATIVE, LLAMA_EXAMPLE_LOOKUP}));
17611761
add_opt(common_arg(
17621762
{"-t", "--threads"}, "N",
1763-
string_format("number of threads to use during generation (default: %d)", params.cpuparams.n_threads),
1763+
string_format("number of CPU threads to use during generation (default: %d)", params.cpuparams.n_threads),
17641764
[](common_params & params, int value) {
17651765
params.cpuparams.n_threads = value;
17661766
if (params.cpuparams.n_threads <= 0) {

0 commit comments

Comments
 (0)