# 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.

Oossa · 2026-12-04 · https://oossa.com/en/flashattention-tweaks-cut-vector-extracts-from-38-to-7

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.

## The facts

- Q6_R_vextract_VR count lowered from 38 to 7 in FlashAttention loops
- Release b13001 published on 2026‑12‑05

## 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.

## Sources & references

1. [ggml-org/llama.cpp b13001](https://github.com/ggml-org/llama.cpp/releases/tag/b13001) – llama.cpp, 2026-12-04

Last updated: 2026-12-04
