Skip to content
SignalFlick
All signals
Local AI·

ggml-org · llama.cpp b12857

llama.cpp tests a Vulkan Flash Attention optimization for multiple tokens

Preview build b12857 groups multiple query tokens and their GQA attention heads to share key-value cache reads. The optimization targets, among other uses, token verification in speculative decoding and concurrent sequence generation on Vulkan GPUs.

What changes

In pull request #30190, the contributor reports a 5.71% reduction in time per speculative step with Qwen3.8-27B Q8_0 on an AMD Radeon PRO W7800 at a prompt depth of 32,768 tokens. Numerical neutrality at that depth has not been established, and other GPUs were not tested in this comparison. The mechanism is experimental; the preview build is licensed under MIT.