Quantization & Engine
Hardware & Mode
Weights & Recipe
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 24 GB
3,381.0
@32K
102.8
tok/s
▲ 23.6%
Kernel Bound
46.5 GB
2.21×
Optimization history — Peak Decode Throughput (oQ4e-MTP)
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
oQ4e-MTP (4-bit) — mlx-community/Inkling-2-Mini-oQ4e-mtp ↗
omlx-recipe:1:eNqNU9tuwjAM_Zc-o4myghA_Y5nGoVnTJOTCRdP-fS4qrIW249U-PvY5tr8z3ILzJJXW0CgD0dZkQrbLV9tFhmVUJ4zKGpAu3wAZ3GsS2U6iDrTIBJELRDWcipyTB48NhCDASqkt9nBSY6heyqX1JUHAxmllDo9wdS3myBpLQBdHPt5TL8QjEE9BCTIRpG9VWZPtlh-rNWOjAxToWClBgxcQ5GKV7brUgzr6xMzHM5nPNaChh2ulSyDs2QyYl5PQ51knYH2y_HM9iTuIdxuHCj3djLCJff9HUaw8oeBD2I5CRELdBmZY3hAqU-CJWvPmUCxxps2zAetJVLtcjVfyrKoYl9WHbIpRSKBjIsN3q_lG20NZLSfIOsP_hssnthNRaXAoBH_B4Ak7eHEbX1BpBcGZz5gr7dfAsgKcptF3CY7KqZVEavhJMCZP3XSxUqZux9gncaD4WpH83h4T8iPVJ9ir2Hp5Kxwk5stCWVHDHXvhbIAJtXK8hxDvez_pBgbfeOP9-QUoYr-7
⚡ 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 oQ4e-MTP (4-bit) (oMLX 0.8.3)
▲ 23.6% · Kernel Bound 102.8 tok/s × 6.22 GB/tok ÷ (1228 GB/s × 2.21× MTP) = 289.3 / 1228 GB/s · Loop Transformer (layers 6–17 execute 3 passes -> 6.22 GB effective read/tok; MTP5=2.21x)
Kernel Bottleneck: 3-pass recurrent loop executes 48 serial MoE dispatches on compact 129 MB/pass slices (289.3 GB/s, 23.6%). Next target: multi-pass Metal command buffer fusion.
📋 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-12-02 Baseline | oMLX 0.8.3 · oQ4e-mtp (16.9 GB) | Single-token Loop Transformer decode without MTP | 55.5 tok/s TG 1,680 PP@4K | 44.8 GB Wired · Pure RAM | 3/3 Deterministic Pass ✅ |
2026-12-05 Optimal ★ | oMLX 0.8.3 · oQ4e-mtp | Pure RAM + Adaptive MTP depth=5 + Lossless BF16 KV | 102.8 tok/s TG (+85%) 3,714 PP@4K (+121%) · 2,788 PP@64K | 46.5 GB Wired · Pure RAM | 3/3 Math/Code/Logic Pass ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 102.8 tok/s Decode · ≈ 3,381 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) · ≈ 69.9 tok/s Decode · ≈ 1,116 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 Mac Studio / Mac Pro (M2 Ultra) (192 GB · 800 GB/s) · ≈ 65.8 tok/s Decode · ≈ 811 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=182400 iogpu.wired_lwm_mb=174720 Mac Studio / MBP (M5 Max) (128 GB · 614 GB/s) · ≈ 53.5 tok/s Decode · ≈ 1,690 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=121600 iogpu.wired_lwm_mb=116480 Mac mini / MBP (M5 Pro) (64 GB · 307 GB/s) · ≈ 27.8 tok/s Decode · ≈ 845 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=60800 iogpu.wired_lwm_mb=58240 Mac mini / MBP 14″ / iMac (M6) (32 GB · 170 GB/s) · ≈ 15.9 tok/s Decode · ≈ 524 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=28160 iogpu.wired_lwm_mb=26560 Mac mini / MacBook Air (M4) (24 GB · 120 GB/s) · ≈ 11.3 tok/s Decode · ≈ 220 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=21120 iogpu.wired_lwm_mb=19920