mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 09:04:36 +00:00
fixed bbs -1 and allow bbs = 2048
This commit is contained in:
parent
18bb0ab127
commit
bcfdd0e662
3 changed files with 11 additions and 5 deletions
|
@ -347,6 +347,10 @@ ModelLoadResult gpttype_load_model(const load_model_inputs inputs, FileFormat in
|
|||
debugmode = inputs.debugmode;
|
||||
unbanTokens = inputs.unban_tokens;
|
||||
blasbatchsize = inputs.blasbatchsize;
|
||||
if(blasbatchsize<=0)
|
||||
{
|
||||
blasbatchsize = 8;
|
||||
}
|
||||
params.memory_f16 = inputs.f16_kv;
|
||||
params.n_ctx = inputs.max_context_length;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue