mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14: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
|
@ -1042,7 +1042,7 @@ static void llama_model_load_internal(
|
|||
void * progress_callback_user_data) {
|
||||
|
||||
model.t_start_us = ggml_time_us();
|
||||
size_t blasbatchmul = (n_batch>512?2:1);
|
||||
size_t blasbatchmul = (n_batch>512?(n_batch>1024?4:2):1);
|
||||
|
||||
std::unique_ptr<llama_model_loader> ml(new llama_model_loader(fname, use_mmap));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue