mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-11 09:24:33 +00:00
server: fix bugs
This commit is contained in:
parent
0cf87c8837
commit
b019a707b8
3 changed files with 13 additions and 5 deletions
|
@ -673,6 +673,7 @@ gpt_params_context gpt_params_parser_init(gpt_params & params, llama_example ex,
|
|||
format("size of the prompt context (default: %d, 0 = loaded from model)", params.n_ctx),
|
||||
[](gpt_params & params, int value) {
|
||||
params.n_ctx = value;
|
||||
params.speculative.n_ctx = value;
|
||||
}
|
||||
).set_env("LLAMA_ARG_CTX_SIZE"));
|
||||
add_opt(llama_arg(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue