In this article
Run the same Q6_K prompt on a fresh process and after decoding has reordered weights. Treat material output drift as a correctness problem before comparing timings.
The llama.cpp b12808 prerelease changes how the SYCL backend dequantizes weights laid out for a reordered Q6_K path. The merged change describes a half-precision multiplication in the reordered path and conversion to float before multiplication in the canonical path. Before the fix, a previous decode could change the path used by the next prefill and therefore its numeric results.
Control the history as well as the input
A test that starts a new model for each request may never exercise the reordered layout. Build a small sequence of requests with the same checkpoint and runtime. Run the target prompt in a fresh instance, then repeat it in an instance that has already decoded. Keep tokenization and request settings fixed. Compare what changed after the intermediate activity.
Compare at the right boundary
If a harness exposes intermediate tensors, compare dequantized values for equivalent slices and record the expected tolerance. Where only inference output is observable, capture logits where available or compare selected outputs under deterministic settings. A single exact transcript can miss numeric differences that matter near competing token probabilities. Conversely, stochastic sampling can create different text without a layout problem.
Protect the test from cache shortcuts
Confirm that the second comparison really processes the target prompt. Reusing a prompt cache could skip the operation under test. Record runtime flags, cache conditions, device, compiler and exact package. Where supported, capture the path actually selected by the backend. The useful comparison isolates execution history while preserving the input and model.
Qualify performance separately
After correctness is acceptable, measure first-token time and sustained output for fresh and reused models. Keep precision changes explicit in the report. This release describes a specific numerical fix, so measure the effect on your devices and workloads rather than assuming a uniform throughput change.
Re-run the comparison after changes to the runtime or compiler. Keeping the old failure case in the test suite makes regressions easier to locate.
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.