Views
No views yet
linear_attn.*
(SSM gates and projections, where quantization error compounds through the
recurrence), the MoE router, shared experts, full-attention layers,
embeddings, lm_head.mlx-lm and any engine
supporting per-layer mixed MLX quants.| quant | bpw | disk | KL(bf16‖q) | top-1 agree | fits 24 GB? |
|---|---|---|---|---|---|
| official-style 4-bit | 4.5 | 19.5 GB | 0.141 | 0.891 | ❌ (~24 GB runtime) |
| this repo | 3.85 | 16 GB | 0.162 | 0.876 | ✅ (18 GB runtime) |
| engine | decode |
|---|---|
| saragossa (main, u3 gather kernels) | ~150 tok/s — faster than the official 4-bit (~145) |
| saragossa v0.2.x release (generic 3-bit path) | ~94 tok/s |
mlx-lm | runs fine, standard mixed-quant path |
1# mlx-lm
2mlx_lm.generate --model <this-repo> --prompt "Bonjour !"
3
4# saragossa — brew install azerozero/tap/saragossa
5saragossa run <this-repo>tools/quant/
— sensitivity-based bit allocation (calibration-free) plus the KL evaluation
script used for the numbers above. The README there documents the exact
commands that reproduce this repo.