From bf60f27cda6973a45a117aa8ebd3b3e19a3dab03 Mon Sep 17 00:00:00 2001 From: slaren Date: Sat, 2 Nov 2024 00:54:16 +0100 Subject: [PATCH] ggml : do not abort when ggml_aligned_malloc fails --- ggml/src/ggml.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index 84f2c766b..47b82a34b 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -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;