The llama.cpp project released build b10622, which includes a critical fix for the Metal backend to prevent out-of-memory crashes. The update addresses an issue where `ggml_metal_buffer_init` returning NULL due to allocation failure was not checked, leading to a hard crash via `EXC_BAD_ACCESS` when dereferencing the null pointer.
- metal: Added a null-check for `ggml_metal_buffer_init` results in `ggml_backend_metal_buffer_type_alloc_buffer` to handle OOM conditions gracefully.
- cont: Fixed logging issues within the codebase.
This change ensures that memory-constrained devices like iOS can surface diagnosable errors instead of crashing when a model or context exceeds the available Metal budget.