Skip to content

Commit bee4c7c

Browse files
committed
apply parameter to only llama-cli
1 parent da038d8 commit bee4c7c

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
@@ -905,7 +905,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
905905
[](common_params & params, const std::string & value) {
906906
params.sampling.top_n_sigma = std::stof(value);
907907
}
908-
).set_sparam());
908+
).set_examples({LLAMA_EXAMPLE_MAIN}).set_sparam());
909909
add_opt(common_arg(
910910
{"--xtc-probability"}, "N",
911911
string_format("xtc probability (default: %.1f, 0.0 = disabled)", (double)params.sampling.xtc_probability),

0 commit comments

Comments
 (0)