﻿# llama.cpp b12202 and the difference between a precision request and an accumulator

Test the requested precision, the backend’s realized accumulation and the model outputs as separate properties.

Author: Retrivium team
Updated: 2026-11-09
Canonical URL: https://retrivium.ai/journal/news-llamacpp-b12202-precision-request-vs-accumulator/
Language: en

The November 8 llama.cpp build b12202 changes several operators to request GGML_PREC_BF16 where their reference implementations do not keep them in F32. Some CPU-class flash attention paths still accumulate in F32 when they accept the new request. Reading the change as an across-the-board switch would produce the wrong compatibility test.

## Read the operator list

The release names GLM4 down and output projections, MiMoVL vision matrix multiplications and Qwen3-TTS speaker encoder convolutions among changed cases. It retains F32 requests for DeepSeek V4/V4.1 routers and the MiniMax-M3 indexer. These choices apply at individual call sites. A model-level label on its checkpoint cannot tell you how each operator executes.

## Distinguish acceptance from implementation

The notes say CUDA cuBLAS already handled the BF16 request. CPU, SpaceMIT and ET accept the request for flash attention with the same F32 accumulation described in the change. A backend may reject a precision mode for a different operation. Inventory the operator, device and fallback rather than inferring acceptance from a successful model load.

## Compare identical inputs before timing

Pin the model revision, quantization, prompt template and image or audio preprocessing where applicable. Compare outputs or intermediate values for the affected path before collecting throughput. Use inputs that trigger different routing or attention shapes. An unexpected change in tokens is easier to diagnose when capture and sampling settings are fixed.

## Report per-backend results

Record the build, driver, backend, operation class and observed numeric tolerance. The added flash attention tests provide a useful starting point for the supported backend paths. For a serving upgrade, keep a regression case for a changed operator and one for a retained F32 operator. That isolates compatibility issues from unrelated model changes.

## Separate numerical and performance claims

Compare prefill and decode separately with a fixed prompt and a fixed number of generated tokens. A successful numeric comparison establishes compatibility for the fixture. Throughput still depends on backend scheduling, batching and the amount of work in the changed operator.

## Primary sources

- [llama.cpp b12202 release](https://github.com/ggml-org/llama.cpp/releases/tag/b12202)
- [Reference precision changes](https://github.com/ggml-org/llama.cpp/pull/31851)

## Related reading

- [RoPE explained through rotations of vector pairs](/journal/rope-vector-pair-rotation/)
- [Reproducible inference stacks: preserving a GPU pilot’s result](/journal/software-stack-reproducibility/)
