Mirai's Qwen3.8-27B Extra-Small Quantization
An extra-small, high-quality quantization of Qwen3.8-27B prepared for efficient local inference on Apple silicon.
Evaluated with romakl on its default set: 20 conversations and 14,456 teacher-generated continuation tokens. This checkpoint: KL 0.1611306; top-1 agreement 86.83%. The plot shows measured checkpoints within ±50% in token-generating weight size, without clipping the selected KL values. The three Bonsai 2 packings were evaluated separately with the Prism runtime. Vision, MTP and speculator weights are excluded from size. KL measures deviation from the base teacher.
Quickstart
If you are on macOS, the easiest way is to install the mirai Homebrew package and then run the CLI:
brew install mirai
mirai --model trymirai/Qwen3.8-27B-XS
Currently only Apple silicon inference is supported. If you want to build things from source, read this overview.
Method
Mirai Extra-Small uses QTIP-style trellis-coded quantization with 8, 7 or 6 transition bits per group of four weights, chosen per matrix by measured cost (about 2 bits per weight). Kronecker-structured random rotations are used to reduce weight outliers. The input embedding uses a 2-bit D4 lattice code, and the output head uses 4-bit integers with group size 64. The checkpoint was fit against a calibration set with reasoning and agent text, then prepared with two rounds of quantization-aware distillation and a long-context round that retrains only the row and norm scales on the model's own long agent sessions.
Citation
If you find our work helpful, feel free to give us a cite.
@misc{mirai-quant,
title = {{Mirai Quantization}: Redefining the speed-quality frontier for local LLMs on Apple silicon},
author = {Artur Chakhvadze and Ryan Mathieu and Roman Knyazhitskiy and Nikolai Voinilenko and Chen-Chen Yeh and Artur Mullakhmetov and Eugene Bokhan and others},
note = {In collaboration with others at Mirai Labs},
month = {June},
year = {2026},
url = {https://trymirai.com/blog/quantization}
}
Original model
This is a quantized version of Qwen/Qwen3.8-27B. For architecture details, intended use, evaluations, and limitations, see the original model card.
- Downloads last month
- 616
Model tree for trymirai/Qwen3.8-27B-XS
Base model
Qwen/Qwen3.8-27B