mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
llama : allow other bufts when overriding to CPU, add --no-repack option (#14990)
This commit is contained in:
parent
e08a98826b
commit
d6818d06a6
5 changed files with 39 additions and 21 deletions
|
@ -2095,6 +2095,13 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
|||
params.no_kv_offload = true;
|
||||
}
|
||||
).set_env("LLAMA_ARG_NO_KV_OFFLOAD"));
|
||||
add_opt(common_arg(
|
||||
{"-nr", "--no-repack"},
|
||||
"disable weight repacking",
|
||||
[](common_params & params) {
|
||||
params.no_extra_bufts = true;
|
||||
}
|
||||
).set_env("LLAMA_ARG_NO_REPACK"));
|
||||
add_opt(common_arg(
|
||||
{"-ctk", "--cache-type-k"}, "TYPE",
|
||||
string_format(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue