ik_llama_opt/ggml
Riccardo Chiumiento 850320be8b
metal: initialize encode_async in ggml_backend_metal_init (#2334)
ggml_metal_init leaves ctx->encode_async nil, but
ggml_backend_metal_graph_compute invokes it unconditionally, so a Metal
backend created without a prior set_n_cb call segfaults on its first
graph. This affects rpc-server and ggml_backend_reg_metal_init; the
llama.cpp path is unaffected, since llama_graph_compute sets n_cb
before every compute.

Upstream added the same call in cad341d88 (#9698), the commit that
introduced encode_async. ik_llama.cpp carries the block but not the
initialization.
2026-08-26 17:15:46 +02:00
..
cmake Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
include rpc: fix crash running GLM-5.2 (glm-dsa) split over RPC (#2360) 2026-08-26 17:02:43 +02:00
src metal: initialize encode_async in ggml_backend_metal_init (#2334) 2026-08-26 17:15:46 +02:00
.gitignore Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
CMakeLists.txt Chunked experts (CPU) (#2202) 2026-07-30 13:16:02 +03:00