Results
KL divergence of each quantized model from the original full-precision model (nats per token, lower is better), for the original quantized directly and for QuantReady quantized the same way:
Table with columns: Quantized with, Original, QuantReady, Improvement| Quantized with | Original | QuantReady | Improvement |
|---|
| llama.cpp Q8_0 | 0.0080 | 0.0067 | 1.19× lower |
| llama.cpp Q5_K_M | 0.1113 | 0.0882 | 1.26× lower |
| llama.cpp Q4_K_M | 0.3646 | 0.2655 | 1.37× lower |
| llama.cpp Q3_K_M | 1.0455 | 0.7277 | 1.44× lower |
| MLX 4-bit | 0.5857 | 0.3776 | 1.55× lower |
| bitsandbytes NF4 | 0.3892 | 0.3454 | 1.13× lower |
| HQQ 4-bit | 0.4964 | 0.3726 | 1.33× lower |
| All 30 exporters (geometric mean) | | | 1.26× lower |
Gains are smallest under llama.cpp's importance-matrix (imatrix) formats, whose calibration already captures part of the same effect (1.16× in geometric mean).
Against Google's quantization-aware release (google/gemma-4-E2B-it-qat-q4_0-unquantized): QuantReady's quantized files are closer to the original model under 21 of 30 exporters (1.37× in geometric mean), including Q8_0, Q5_K_M, Q4_K_M and every importance-matrix format, while computing the original's function in full precision. Google's release stays ahead under its target format Q4_0 and some 2- and 3-bit formats, bitsandbytes FP4 and HQQ.
What changes, and what doesn't
- The architecture, size, data type, tokenizer and chat template are the original's. Load it with the same code as the original, changing only the model id.
- QuantReady learns per-channel rescalings that cancel exactly inside each transformer block (between the two halves of each gated MLP, and between each normalization layer and the projections that read it) and folds them into the weights. The function is unchanged in exact arithmetic; after folding into bf16 its measured drift from the original is 0.00044 nats per token.
- What changes is how evenly the weights fill each quantization block, so quantizers round them more faithfully. The vision and audio encoders are unchanged.
Ready-made GGUF files are at NoemaAI-labs/gemma-4-E2B-it-QuantReady-GGUF.
How it was measured
Thirty exporters: 12 plain llama.cpp formats and 10 with an importance matrix, bitsandbytes NF4 and FP4 with and without double quantization, HQQ and MLX at 4 and 3 bits. Each quantized model is compared with the original quantized the same way, scored on the same GPU type, by KL divergence from the original full-precision model (100 WikiText-2 windows of 512 tokens for llama.cpp, held-out FineWeb-Edu for the libraries), with llama.cpp at commit 19ff817f.
Technical report
One Checkpoint for Every Quantizer: Format Lock-In and Zero-Drift Preparation of Open-Weight Releases (Armin Stamate and Jacob Aronow, NoemaAI, 2026). QuantReady is the method called zero-drift format-randomized distillation (ZD-FRD) in the report.
License
Apache 2.0, as the original model google/gemma-4-E2B-it.