SIGN IN SIGN UP

metal : bug-fix when enable ggml-alloc (#2757)

* metal: better memory alloc w/ concurrency dispatch

The ggml-alloc should only free tensors at memory barriers.

* ggml-alloc: avoid return silently

In certain cases, the allocate_node() function may silently return
without performing any memory allocation.
S
Shouzheng Liu committed
38b16dfca6e5032e6cfb90c1653bf1ba4cf647b4
Parent: 8f8c28e
Committed by GitHub <noreply@github.com> on 8/24/2023, 4:27:25 PM