Skip to content

Commit b636228

Browse files
authored
embedding : enable --no-warmup option (#11475)
This commit enables the `--no-warmup` option for the llama-embeddings. The motivation for this change is to allow the user to disable the warmup when running the the program.
1 parent 325afb3 commit b636228

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
@@ -877,7 +877,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
877877
[](common_params & params) {
878878
params.warmup = false;
879879
}
880-
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER}));
880+
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_EMBEDDING}));
881881
add_opt(common_arg(
882882
{"--spm-infill"},
883883
string_format(

0 commit comments

Comments
 (0)