← News

Inference frameworks

llama.cpp Pre-Release b12555 Adds int8 KQ Kernels to OpenCL Decomposed Flash Attention

llama.cpp's b12555 pre-release adds int8 KQ paths, DP4A acceleration and DK=512 handling to OpenCL decomposed flash attention with Qualcomm co-authorship, but publishes no performance or accuracy figures.

Published: 2026-11-20 06:06 UTCUpdated: 2026-11-20 06:06 UTCSource date: 2026-11-19

Official announcement

According to ggml-org's own release note for llama.cpp pre-release build b12555 (a first-party announcement; all claims below are attributed to that publisher), the OpenCL backend now has int8 quantized key-query (KQ) paths inside decomposed flash attention. The note says KQ matmuls can use DP4A acceleration, that OpenCL gains int8 KQ paths for head dimensions DK=512 and DK<=256, and that the query chunk limit for int8 KQ rises to 96.

The same note states that build_program_from_source was extended to allow non-fatal failure, so a kernel that fails to compile no longer necessarily aborts the run. The publisher credits Qualcomm engineers with co-authoring these OpenCL changes, with Codex listed as an assisting tool in its changelog. Prebuilt binaries cover Linux, Windows, Android, macOS and openEuler targets, including Snapdragon CPU, Adreno GPU and Hexagon NPU arm64 builds. Importantly, this is tagged a pre-release, not a stable version.

Analysis

For teams running local inference on Snapdragon laptops, handhelds or Adreno GPUs, the significance is that OpenCL's int8 path under decomposed flash attention was previously incomplete; larger head dimensions such as DK=512 were especially likely to fall back to generic code. If the note is accurate, long-context workloads on bandwidth-constrained mobile GPUs could see less data movement — but that is an inference from kernel changes, not a measured result. The publisher gives no throughput, latency or accuracy numbers, so any benefit must be benchmarked on your own hardware and models.

Two conditional cautions before adoption. First, b12555 is a pre-release; pinning production API servers or inference nodes to it carries regression risk, so treat it as a candidate to A/B test in isolation rather than a version to adopt blindly. Second, with compile failures now non-fatal, a failed int8 kernel may no longer stop the run and could silently fall back to another path; validation should confirm the int8 KQ path actually executed, not merely that the program finished.

What remains unverified

Missing information includes token/s gains on Adreno or other OpenCL devices, first-token latency changes, accuracy loss from int8 KQ (especially combined with quantized KV caches over long contexts), and which devices and drivers were validated. Also unconfirmed: how visible non-fatal compile failures are in logs, and how this path compares with Vulkan and CPU backends on cost and speed. Until third-party benchmarks appear, any "Nx faster" framing lacks support.


Related articles