Qwen3.8-27B-Coder390-MLX-slq-4.5bpw
Mixed-bitwidth SLQ quantization of nerkyor/Qwen3.8-27B-Coder390-EfficientThink-Opus5.5-GPT6Astra-Grok4.7-DSV4Pro-K3-SFT-RLOO-MTP-DFlash2, packed for MLX with nn.QuantizedLinear. The checkpoint stays packed in memory and on disk (~1.85× smaller than BF16).
Note on speculative decoding (MTP / DFlash2): This checkpoint uses SLQ quantization, which excludes the MTP head from quantization (it is grafted back as BF16). Because the MTP head was trained on BF16 backbone hidden states but runs against a quantized backbone, its accept rate is low (~1.4 tok/cycle vs ~2.5+ for a matched quantization). MTP and DFlash2 do not work well with this model. For speculative decoding, prefer an oQ-quantized variant where the MTP head and backbone are quantized uniformly through oMLX's engine.
Quick start
pip install mlx-lm
from mlx_lm import load
model, tokenizer = load(
"hermitdave/Qwen3.8-27B-Coder390-MLX-slq-4.5bpw",
trust_remote_code=True,
)
Model details
| Field | Value |
|---|---|
| Base model | nerkyor/Qwen3.8-27B-Coder390-EfficientThink-Opus5.5-GPT6Astra-Grok4.7-DSV4Pro-K3-SFT-RLOO-MTP-DFlash2 |
| Parameters | ~27B |
| Layers | 64 |
| Hidden size | 2048 |
| Architecture | qwen3_5 (Gated DeltaNet + hybrid attention) |
| Quantization | SLQ, affine, group_size=64 |
| Average bitwidth | 4.50 bpw |
| Format | MLX packed (mlx-packed-affine) |
Bitwidth distribution
| Bitwidth | Share |
|---|---|
| 4-bit | ~45% |
| 5-bit | ~45% |
| 6-bit | ~8% |
| 8-bit | ~2% |
Exact per-layer allocation is stored in config.json → slq_bits.
Fidelity (measured)
Calibration: FineWeb-Edu, 131,072 tokens (128×1024). Allocator: per-layer greedy. Eval: paired zero-shot, 400 examples/task.
| Metric | Value |
|---|---|
| Mean zero-shot recovery | 1.0031 |
| Task-lossless verdict | Yes (threshold ≥ 0.99) |
Per-task recovery (capped at 400 examples/task)
| Task | BF16 | SLQ 4.50bpw | recovery | 95% CI |
|---|---|---|---|---|
| arc_challenge | 0.5675 | 0.5650 | 0.9956 | [0.9845, 1.0067] |
| arc_easy | 0.8225 | 0.8125 | 0.9878 | [0.9730, 1.0027] |
| hellaswag | 0.5475 | 0.5550 | 1.0137 | [1.0027, 1.0247] |
| winogrande | 0.5600 | 0.5600 | 1.0000 | [0.9804, 1.0196] |
| mmlu | 0.5400 | 0.5500 | 1.0185 | [1.0070, 1.0300] |
Note: full benchmark sets are ~15.5k examples/task; this run uses a 400-example cap for speed.
Size
| Artifact | Size |
|---|---|
| Packed SLQ | ~27.5 GiB |
| BF16 base | ~51 GiB |
Repo
Generated with slq-mlx. Pipeline: chunked per-block multi-bitwidth Stage 1, streaming error DB, heuristic allocation, MLX packed export.