In this article
Establish numerical parity for the affected operation and shape before including HIP results in a speed comparison.
The llama.cpp prerelease b12632, published on November 22, 2026, includes a HIP correction for NVFP4 matrix operations on CDNA3. The change addresses repeated halving of block scales in the affected path. A block scale restores magnitude when compact values are interpreted for arithmetic. If the scale is adjusted twice where the format expects one adjustment, the kernel may complete quickly while computing a different result.
Start with a fixed quantized input
Use the same small quantized weight block and known activation vectors for the backend under test and a reference implementation. Record the weight format, input seed and output tolerance. A reference that decodes the same quantized input is useful because it isolates backend arithmetic from the loss already introduced by quantization. With a full-precision model as the only comparator, it is harder to identify which difference came from the runtime.
Check which path actually ran
Record the exact build, GPU architecture, driver and backend. In mixed fleets, a model can load successfully on multiple machines and choose a different implementation on each. Include evidence that the tested operation reached the HIP path you care about. Repeat a few relevant matrix shapes. A correct result on one shape is useful evidence for that path and may leave other dispatch branches untouched.
Compare model-level effects separately
Once the operation agrees with the reference, compare logits or ranking behavior on a small fixed prompt set. Include a prefill-heavy input and a short generation run if both matter to your deployment. Report absolute output differences and task outcomes alongside any speed result. If you compare sampled text, control for sampling settings and avoid treating one coincidental match as proof.
Keep a gate before benchmarking
Add a small arithmetic check to the build acceptance checklist for the affected hardware. Benchmark throughput and latency only after it passes. This keeps an incorrect fast path out of the results and makes a later change to drivers, quantization or dispatch easier to diagnose.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.