Views
No views yet
Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. Try the Lab · All OptiQ quants · Docs
| Property | Value |
|---|---|
| Predominant precision | 4-bit |
| Layers at 8-bit (sensitive) | 179 |
| Layers at 4-bit (robust) | 102 |
| Total quantized layers | 281 |
| Achieved bits-per-weight | 5.01 |
| Group size | 64 |
| Calibration mix | six-domain mix (40 samples × 6 domains) |
| Reference for sensitivity | uniform-4-bit (24B does not fit bf16 in typical RAM) |
llama.cpp uses for Q4_K_M and similar mixed-precision quants: the "4-bit" label is for the predominant precision, not the weighted average. The mixed allocation puts more bits where the sensitivity pass says they matter, which is what lets this build win the Capability Score below.mlx-lm and use it as usual:pip install mlx-lm1from mlx_lm import load, generate
2
3model, tokenizer = load("mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bit")
4response = generate(
5 model, tokenizer,
6 prompt="Write a Python function that returns the nth Fibonacci number.",
7 max_tokens=200,
8)mlx-optiq (OpenAI + Anthropic-compatible server, mixed-precision KV-cache, sensitivity-aware LoRA):1pip install mlx-optiq
2optiq serve --model mlx-community/Devstral-Small-2-24B-Instruct-2512-OptiQ-4bitoptiq serve captures Mistral/Devstral tool calls correctly. They end on EOS with no closing marker, which stock servers drop after the first call, and it normalizes tool-call arguments before chat templating.| Metric | OptiQ | Uniform 4-bit | Δ |
|---|---|---|---|
| MMLU (5-shot, 1000 samples) | 80.8% | 79.4% | +1.4 |
| GSM8K (1000 samples, 3-shot CoT) | 87.2% | 88.1% | -0.9 |
| IFEval (full set, strict) | 68.6% | 68.0% | +0.6 |
| BFCL-V3 (tool calls) | 89.5% | 88.5% | +1.0 |
| HumanEval (164 problems, pass@1) | 83.5% | 82.9% | +0.6 |
| HashHop (long-context retrieval) | 62.0% | 53.0% | +9.0 |
| Capability Score (mean of 6) | 78.60 | 76.65 | +1.95 |
| On-disk size | 15.4 GB | 12.3 GB | +3.1 |