Skip to content

Commit ae4b922

Browse files
imatrix : Add imatrix to --no-context-shift (#10766)
This allows for setting the --no-context-shift value in llama-imatrix which is required for models like DeepSeek
1 parent 750cb3e commit ae4b922

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
@@ -591,7 +591,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
591591
[](common_params & params) {
592592
params.ctx_shift = false;
593593
}
594-
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER}).set_env("LLAMA_ARG_NO_CONTEXT_SHIFT"));
594+
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_IMATRIX}).set_env("LLAMA_ARG_NO_CONTEXT_SHIFT"));
595595
add_opt(common_arg(
596596
{"--chunks"}, "N",
597597
string_format("max number of chunks to process (default: %d, -1 = all)", params.n_chunks),

0 commit comments

Comments
 (0)