Oossa

FlashAttention tweaks cut vector extracts from 38 to 7

The llama.cpp b13001 release adds Hexagon NPU optimizations that slash extract operations in FlashAttention loops, promising faster inference on supported devices.

NoteBy Published by Oossa: 1 min read

The open‑source llama.cpp library released version b13001 on Dec 5 2026. It introduces several Hexagon NPU improvements, most notably reducing the Q6_R_vextract_VR count in FlashAttention hot loops from 38 down to 7.

Why it matters

Developers using Hexagon‑enabled hardware can expect shorter inference times, though actual speed improvements will vary by model and setup.

What it means for you

If you run llama.cpp on a device with a Hexagon NPU, such as Snapdragon chips, the reduced extract operations should make the model run noticeably faster.

Our take: The change shows tangible low‑level tuning that can boost performance for developers, though real‑world speed gains will depend on the rest of the workload.

Was this article useful?
Share

Read next

Oossa · Newsletter

The week in AI, explained

Every Monday: the stories worth knowing, in plain language. Free, no spam.