Skip to content

Commit

Permalink
imatrix : Add imatrix to --no-context-shift (ggerganov#10766)
Browse files Browse the repository at this point in the history
This allows for setting the --no-context-shift value in llama-imatrix which is required for models like DeepSeek
  • Loading branch information
bartowski1182 authored Dec 10, 2024
1 parent 750cb3e commit ae4b922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/arg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
[](common_params & params) {
params.ctx_shift = false;
}
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER}).set_env("LLAMA_ARG_NO_CONTEXT_SHIFT"));
).set_examples({LLAMA_EXAMPLE_MAIN, LLAMA_EXAMPLE_SERVER, LLAMA_EXAMPLE_IMATRIX}).set_env("LLAMA_ARG_NO_CONTEXT_SHIFT"));
add_opt(common_arg(
{"--chunks"}, "N",
string_format("max number of chunks to process (default: %d, -1 = all)", params.n_chunks),
Expand Down

0 comments on commit ae4b922

Please sign in to comment.