mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 00:54:41 +00:00
add more warmup (+1 squashed commits)
Squashed commits: [9578d5352] updated lite
This commit is contained in:
parent
4decd6bea1
commit
cb1c182673
3 changed files with 14 additions and 8 deletions
|
@ -2379,6 +2379,9 @@ ModelLoadResult gpttype_load_model(const load_model_inputs inputs, FileFormat in
|
|||
{
|
||||
printf("\nLLAMA EVAL returned nonzero: %d\n",er);
|
||||
}
|
||||
tmp = {1};
|
||||
llama_kv_self_clear(llama_ctx_v4);
|
||||
er = llama_decode(llama_ctx_v4, llama_batch_get_one(tmp.data(), tmp.size()));
|
||||
return ModelLoadResult::SUCCESS;
|
||||
}
|
||||
else if (file_format == FileFormat::RWKV_1 || file_format==FileFormat::RWKV_2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue