[ RESEARCH ] / PAPER
What Post-Training Repair Buys on llama.cpp Quantization: A Paired Audit on and off the Calibration Distribution
ABSTRACT
We measure what post-training repair of low-bit llama.cpp quantization buys, on five Qwen-family models and Llama-3.1-8B, on one GPU. The main comparisons are scored against BF16 references on the calibration distribution and on two corpora that no calibration touched. (1) Re-rounding re-chooses a Q2_K file's codes under a captured activation-covariance metric (GPTQ's sweep on llama-quantize's frozen grid). It lowers KL divergence (KLD) by a third at 0.8B. At 8B and 27B, the registered recipe (calibration mixing prose and code) is worse than the untouched file on wikitext and FineWeb-Edu, and a wikitext-only calibration gains at most 4% on wikitext while damaging both held-out corpora. At 0.8B, at 8B and at 27B, re-rounding damages kinds of text its calibration does not cover. Letting GPTQ refit the grid beats freezing it in eleven of twelve cells. (2) Whitened low-rank correction improves its base on every corpus we scored; off the calibration distribution the gain is smaller in the ladder and recovery comparisons (0.25 to 0.96 of the wikitext gain, depending on model and corpus) and 0.84 to 1.05 of it on the head-to-head files (§5.3). Against the stock types it falls short: an I-quant type at fewer bytes beats it on every corpus at 8B and 27B. At 27B its 4.5% lead over the adjacent K-quant, resolved on the whole wikitext test set, appears only on the calibration distribution, and a same-byte file mixing stock types beats it on every corpus at 27B and by a factor of three at 0.8B. (3) Against released GSQ-RCO checkpoints of Qwen3.8-27B, KLD to the reference and likelihood of the text disagree within one 2,048-token run on wikitext: the trained files are further from BF16 at both size classes and, where the likelihood difference is resolved (the IQ3 class), assign the text higher likelihood, so for these files KLD measures fidelity and not quality. (4) Fused adapter kernels raise 0.6B decode by 79% and 27B decode by 2.7%.
[ IN FINAL PREPARATION ]
The text is complete apart from one measurement now running: a coding-suite replication, three runs per arm, for the head-to-head of §5. The PDF will be posted on this page when it finishes.
The paper’s sections, figures, and build are public now at revision d4ca2cf. Its main results are summarized on the research page.
[ VERSIONS ]
- v2 · October 2026 · current
What Post-Training Repair Buys on llama.cpp Quantization: A Paired Audit on and off the Calibration Distribution
- v1 · 9 October 2026 · earlier draft
Frozen-Grid Re-Rounding and the Limits of Low-Rank Correction for llama.cpp Quantization: A Paired Audit