Skip to content

Commit bf60f27

Browse files
committed
ggml : do not abort when ggml_aligned_malloc fails
1 parent a6744e4 commit bf60f27

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ggml/src/ggml.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,6 @@ void * ggml_aligned_malloc(size_t size) {
433433
break;
434434
}
435435
GGML_LOG_ERROR("%s: %s (attempted to allocate %6.2f MB)\n", __func__, error_desc, size/(1024.0*1024.0));
436-
GGML_ABORT("fatal error");
437436
return NULL;
438437
}
439438
return aligned_memory;

0 commit comments

Comments
 (0)