update lite, resize scratch buffers for blasbatch 2048
This commit is contained in:
parent
9133e456d2
commit
3c7d938d95
2 changed files with 10 additions and 7 deletions
15
klite.embd
15
klite.embd
File diff suppressed because one or more lines are too long
|
@ -3234,7 +3234,7 @@ struct llama_context * llama_new_context_with_model(
|
||||||
params.seed = time(NULL);
|
params.seed = time(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t blasbatchmul = (params.n_batch>512?2:1);
|
size_t blasbatchmul = (n_batch>512?(n_batch>1024?4:2):1);
|
||||||
|
|
||||||
unsigned cur_percentage = 0;
|
unsigned cur_percentage = 0;
|
||||||
if (params.progress_callback == NULL) {
|
if (params.progress_callback == NULL) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue