mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-08 09:41:45 +00:00
ggml : do not abort when ggml_aligned_malloc fails
This commit is contained in:
parent
a6744e43e8
commit
bf60f27cda
@ -433,7 +433,6 @@ void * ggml_aligned_malloc(size_t size) {
|
||||
break;
|
||||
}
|
||||
GGML_LOG_ERROR("%s: %s (attempted to allocate %6.2f MB)\n", __func__, error_desc, size/(1024.0*1024.0));
|
||||
GGML_ABORT("fatal error");
|
||||
return NULL;
|
||||
}
|
||||
return aligned_memory;
|
||||
|
Loading…
Reference in New Issue
Block a user