disable resizing if numa is enabled.
This commit is contained in:
parent
974e43be25
commit
1c68ea8d9f
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -12097,7 +12097,7 @@ UseGgmlGemm2:;
|
|||
//printf("nr0 = %lld, nr1 = %lld\n", nr0, nr1);
|
||||
|
||||
//If the chunking is poor for the number of threads on this setup, scrap the whole plan. Re-chunk it by thread.
|
||||
if (nchunk0 * nchunk1 < nth * 400)
|
||||
if (nchunk0 * nchunk1 < nth * 4 || ggml_is_numa())
|
||||
{
|
||||
//if (ith == 0)
|
||||
// printf("rechunked");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue