llama.cpp changes how cache cells are selected for sparse attention: the selection no longer follows the shape of the dense kq_mask. The update affects qwen4exp (QSA) and glm5-next and is intended to allow changes to the dense mask layout without requiring corresponding changes to the sparse layers.
Both models already selected cache cells by index, but the selection still followed the shape of the dense mask. It is now built as [n_kv, n_tokens] over the cache cells. Only immediately before attention is it split into the streams of the K view. The release notes give per-sequence row lists as an example of a different dense-mask layout.
The entry also mentions removing unused arguments from build_fused_top_k_mask. It lists build variants for several operating systems and accelerators, but gives no performance measurements or details about effects in practical use. The original source lists the changes and build targets: llama.cpp release b11936
🇬🇧 https://github.com/ggml-org/llama.cpp/releases/tag/b11936