Views
No views yet
d = absmax/−8, q = round(w/d)+8) and emits them as native MLX affine
triplets (scales = d, biases = −8·d, gs32) — mathematically the same grid.| Reference | This artifact | Naive MLX min-max |
|---|---|---|
| q4_0-intended model (what Google validated) | 0.135% (bf16-scale rounding only) | 6.32% |
| BF16 QAT master | 5.03% (≈ the 4.99% the QAT targets) | 6.15% |
| Tensor class | Precision |
|---|---|
| All decoder linears (q/k/v/o, gate/up/down, 60 layers) | 4-bit gs32, q4_0-faithful |
embed_tokens (tied lm_head) | 6-bit gs64 (mirrors Q6_K) |
Norms, QAT layer_scalar, rope | unquantized |
| Vision tower | bf16, unquantized (as Google ships it) |
1pip install mlx-lm
2python -m mlx_lm generate --model EigenLabs/gemma-4-31B-it-qat-q4_0-MLX \
3 --prompt "Explain quantization-aware training in one paragraph."google/gemma-4-31B-it-qat-q4_0-unquantized with a
deterministic, calibration-free converter (no further training). Weight values
are bit-derived from Google's QAT release; use is subject to the
Gemma Terms of Use. Fidelity numbers are
weight-space; the conversion is designed to inherit the QAT checkpoint's
validated quality by construction rather than re-evaluating it.