]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml alloc: Fix for null dereference on alloc failure (llama/5200)
authorPaul Tsochantaris <redacted>
Mon, 29 Jan 2024 22:19:29 +0000 (22:19 +0000)
committerGeorgi Gerganov <redacted>
Tue, 30 Jan 2024 19:21:09 +0000 (21:21 +0200)
commitfb8c9aa0d507c68d7b130a218d191754252003af
tree39685299f2c0fa54ae193445f6cd2657d33cb717
parentefa4fdc97f301beb8162c5c349962ae436cdfba8
ggml alloc: Fix for null dereference on alloc failure (llama/5200)

* Fix for a null pointer dereference if a metal GGML buffer fails to be allocated

* Freeing the allocated buffers rather than the pointer in ggml-alloc.c

* Fixed the fix of the fix
src/ggml-alloc.c