Spark-X2.6-4B SLQ 4.50bpw

Statistically-lossless mixed-bitwidth quantization of XHToken/Spark-X2.6-4B using SLQ (COLM 2026).

Quantization summary

  • Average bitwidth: 4.4944 bpw (parameter-weighted)
  • Bitwidth distribution: 8-bit 16.7%, 5-bit 49.5%, 4-bit 33.8%
  • Artifact size: 2.821 GiB (BF16 base 7.657 GiB → 2.71× smaller)
  • Format: MLX packed checkpoint — integer grids stored as uint32, dequantized inside mx.quantized_matmul
  • Group size: 128
  • Calibration: FineWeb-Edu, 8,192 tokens, sequence length 512
  • Allocation: Per-layer greedy heuristic, target 4.5 bpw

How to run

mlx_lm.generate --model hermitdave/Spark-X2.6-4B-SLQ-4.50bpw --dtype float16

Or in Python:

from mlx_lm import load, generate
model, tokenizer = load("hermitdave/Spark-X2.6-4B-SLQ-4.50bpw", trust_remote_code=True)
response = generate(model, tokenizer, "Hello, how are you?", max_tokens=100)

trust_remote_code=True is required because mlx-lm imports the generated slq_model.py to build the architecture. Only load checkpoints you trust.

Validation

Perplexity (FineWeb-Edu, 512 sequences)

Model PPL Ratio
BF16 23.22 1.000
SLQ 4.50bpw 24.52 1.056

Zero-shot task recovery (100 examples/task, measured)

Task BF16 SLQ 4.50bpw Recovery
arc_challenge 0.4100 0.3600 0.8780
hellaswag 0.4000 0.4000 1.0000
winogrande 0.5500 0.5100 0.9273
mean 0.9351

Distribution metrics (FineWeb-Edu)

Metric Value
Symmetric KLD 7.949
EAR 0.9129
KL divergence 0.0614

Citation

@inproceedings{helcig2026slq,
  title = {{Statistically-Lossless Quantization of Large Language Models}},
  author = {{Michael Helcig and Eldar Kurtic and Dan Alistarh}},
  booktitle = {{Conference on Language Modeling (COLM)}},
  year = {2026},
  url = {https://arxiv.org/abs/2605.02404},
}

Acknowledgments

  • Original SLQ implementation by IST-DASLab (Michael Helcig, Eldar Kurtic, Dan Alistarh)
  • Ported to MLX for Apple Silicon by Hermes Agent (Nous Research)
  • Quantized by hermitdave (HuggingFace: hermitdave)
Downloads last month
798
Safetensors
Model size
0.9B params
Tensor type
F32
·
U32
·
F16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for hermitdave/Spark-X2.6-4B-MLX-SLQ-4.50bpw

Quantized
(65)
this model

Collection including hermitdave/Spark-X2.6-4B-MLX-SLQ-4.50bpw

Paper for hermitdave/Spark-X2.6-4B-MLX-SLQ-4.50bpw