llama.cpp b11412 fixes unexpected graph re-reservations

News llama.cpp Releases · Source account, not independently verified by us.

llama.cpp version b11412 fixes an unexpected graph re-reservation during decoding in its k-pool models. The graph shape previously depended on state-based branches, and the resulting mismatch could force a new reservation during decoding.

The change always performs scatter and gather operations for pooled keys together and selects the gather operation based on context. The release also removes the now-unused cache_safe graph API and its copy in kpool_build_sizes(). A new regression test checks graph reservation when sequence cells are shared. Kimi-Linear and MiniMax-01 are skipped in this test because they reserve the final prompt-processing graph.

Other changes affect CUDA: weighted MoE reduction no longer rejects tensors from empty micro-batches; the compute loop already skips empty nodes before fusion. The release page also lists supported build targets and an attestation. Source: llama.cpp release b11412

🇬🇧 https://github.com/ggml-org/llama.cpp/releases/tag/b11412

Leave a Comment

The weekly brief: selected developments, projects and videos