Quantization & Engine
Hardware & Mode
Weights & Recipe
M5 Ultra · 256GPomavia Lab
table-offload
≥ 256 GB
3,252.0
@32K
108.2
tok/s
● 75.4%
Roofline
223.0 GB
1.98×
Official Unquantized FP8 (510.3 GB)
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
double-hybrid
≥ 256 GB
1,023.8
@32K
31.2
tok/s
● 96.2%
NVMe Wall
220.8 GB
3.95×
Optimization history — Peak Decode Throughput (552B MoE oQ2.5e)
Compatible Apple Silicon Macs
× Mac mini / MacBook Air (M4) (24G)× Mac mini / MBP 14″ / iMac (M6) (32G)× Mac mini / MBP (M5 Pro) (64G)× Mac Studio / MBP (M5 Max) (128G)× Mac Studio / Mac Pro (M2 Ultra) (192G)✓ Mac Studio (M3 Ultra) (256G)✓ Mac Studio (M5 Ultra · 256 GB) (256G)✓ Mac Studio (M5 Ultra · 512 GB) (512G)
Weights & verified launch recipes
oQ2.5e-MTP (~2.5-bit) — mlx-community/DeepSeek-V4.1-Flash-1017-oQ2.5e-mtp ↗
omlx-recipe:1:eNqNU9lywjAM_Jc8dzqEBqaTn9GIWCZuHNv44JhO_70yDYVAQvtoa3XsSvtZ4Ds4T1JpDWRwo0kUdfSJXm4jvTIQbUcmFPW64lAT1R6jsgakK9fXTIk6cKogcoGog31VQkNirsUIR2brsYcQBFgptcUrTGoM7UOXnzfEVplOme0FLa1vCAL2Tp9_B3R7qiZbDOEej9BYE-kY4aCMsIeiXq6XZcV0e0tAR0c-XtIeZpmAeApKkIkgfdbLmqJevC5XjI0OUKBjDQlyX0EutkU9hO402h3IvK0ADf2q2LgEPKAZVV7MQu9nnYHdFivfVrO4rfhv49Cip7MQNvFO_mAUW08o-MLeJyEioc4fT6r8g6hMgSfK4j1DMcUnbe4FWM2i8nI1nsgzq2qa1i0kW2sCEmiXyPBNa77ffCjLxUyxQfDrcOXMdiIqDQ6FYIeM3D3Aq_P4ghoriO0gcqb9GElWgWPzTVkpOGrmVnIxK2yS2FJ8jCe_sbuEbJtuDxsV8z1kEuPA87TQtNTzodx8FyNM6JRj1UO8bHmvexh571z36xuD--PM
⚡ Hardware roofline · bandwidth efficiency gate
η_BW = (Decode tok/s × active GB/token) / (chip peak BW GB/s × MTP multiplier) · ≥75% (or NVMe ≥95%) = silicon roofline | <60% = kernel bottleneck Official Unquantized FP8 (510.3 GB) (oMLX 0.8.3)
● 96.2% · NVMe Wall NVMe Streaming: 8.56 GB/s / 8.90 GB/s ceiling (DRAM η_BW 52.3%) · Official FP8 MLA/dense + 6/384 FP8 experts streamed via os.preadv
Saturates 8.56 GB/s NVMe sequential read (96.2% of Apple SSD physical ceiling) in 220.8 GB Wired.
oQ2.5e-MTP (~2.5-bit) (oMLX 0.8.3)
● 75.4% · Roofline 108.2 tok/s × 16.95 GB/tok ÷ (1228 GB/s × 1.98× MTP) = 926.3 / 1228 GB/s · 11.17 GB MLA/dense + 3.11 GB routed (6/384) + 2.67 GB MTP3 head
Sustains 926.3 GB/s (75.4% DRAM Roofline) with affine oQ2.5e Metal kernels while offloading cold Engram tables.
📋 Per-Mac dated & verifiable optimization logs
Mac Studio · Apple M5 Ultra (36c CPU / 80c GPU · 256 GB) · macOS 27.2 (26B123) · sysctl iogpu.wired_limit_mb=249036 · 2 TB NVMe (11.18 GB/s)
Pomavia Lab verified log | Date & stage | Engine & quant | Optimization / ablation parameters | Measured speed | Wired RAM & NVMe I/O | Verification & repro |
|---|---|---|---|---|---|
2026-11-28 Baseline | oMLX 0.8.3 · oQ2.5e-mtp | Out-of-box load (no A8 prefill, no CED, no MTP, default KV) | 55.0 tok/s TG@32K 652 PP@1K · 1,642 PP@32K | 224.7 GB Wired · Engram NVMe | 3/3 Deterministic Pass ✅ |
2026-12-01 Ablation | oMLX 0.8.3 · oQ2.5e-mtp | +M5 Q4A8(min_tokens=64) + TQ8 KV + MTP depth=5 (without CED) | 84.5 tok/s TG@32K (107.4 @ 16K) 754 PP@1K · 1,889 PP@32K | 224.2 GB Wired · KB/s Engram | 3/3 Deterministic Pass ✅ |
2026-12-03 Ablation | oMLX 0.8.3 · oQ2.5e-mtp | +CED Context-Elastic Prefill + TQ8 KV + MTP5 (without A8) | 101.3 tok/s TG@32K 1,428 PP@4K · 2,861 PP@32K (+74%) | 223.2 GB Wired · KB/s Engram | 3/3 Deterministic Pass ✅ |
2026-12-05 Optimal ★ | oMLX 0.8.3 · oQ2.5e-mtp | +Engram SSD + M5 Q4A8(m64) + CED + Lossless BF16 MLA KV + Adaptive MTP5 | 108.2 tok/s Peak TG (99.3 B4) 3,252 PP@32K (+98.1%) · 2,153 PP@64K | 223.0 GB Wired · Zero Expert Swap | 3/3 Math(34196)/Code/Logic ✅ |
2026-12-05 FP8 Hybrid | oMLX 0.8.3 · Official 510 GB FP8 | Double-Hybrid: Engram SSD (-213 GB) + MoE resident_fraction=0.70 + A8(m64) + CED + MTP5 | 31.2 tok/s TG@16K (26.3 @ 32K) 602.8 PP@4K · 1,031.1 PP@32K | 220.8 GB Wired · 4.58/8.56 GB/s NVMe | 3/3 Lossless FP8 Pass (12.8s/17.3s/6.0s) ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 108.2 tok/s Decode · ≈ 3,252 tok/s Prefill (@32K)
Roofline-sized · awaiting lab PR This Mac has the native M5/M6 Neural GPU matrix path — keep the M5 QxA8 (min_tokens=64) recipe enabled.
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920 Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 73.6 tok/s Decode · ≈ 1,073 tok/s Prefill (@32K)
Roofline-sized · awaiting lab PR Note: M2/M3/M4 chips lack the native M5 QxA8 unit — set a8_prefill_enabled=false (use native A16 GPU or calibrated Dual-ANE prefill).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960