mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	ggml : do not abort when ggml_aligned_malloc fails
This commit is contained in:
		| @@ -433,7 +433,6 @@ void * ggml_aligned_malloc(size_t size) { | |||||||
|                 break; |                 break; | ||||||
|         } |         } | ||||||
|         GGML_LOG_ERROR("%s: %s (attempted to allocate %6.2f MB)\n", __func__, error_desc, size/(1024.0*1024.0)); |         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 NULL; | ||||||
|     } |     } | ||||||
|     return aligned_memory; |     return aligned_memory; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 slaren
					slaren