Quantization & Engine
Hardware & Mode
Weights & Recipe
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 24 GB
2,417.0
@32K
52.1
tok/s
● 61.2%
Near-Peak
43.8 GB
1.68×
Optimization history — 32K Prefill Throughput (27B Dense 4-bit)
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
MLX 4-bit (gs=64) — mlx-community/Qwen3.8-27B-4bit ↗
omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnabcxEcFEZyg2ooa2q5k95zNsCERjmeT4i3fTjoFsZn-vMLYxPGHg
⚡ 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 MLX 4-bit (gs=64) (oMLX 0.8.3)
● 61.2% · Near-Peak 52.1 tok/s × 14.42 GB/tok ÷ (1228 GB/s × 1.00× MTP) = 751.3 / 1228 GB/s · 14.42 GB dense 4-bit text weights (gs=64, excl. 0.92 GB ViT)
Sustains 751.3 GB/s (61.2% Near-Roofline) on pure M=1 dense GEMV across 64 layers; reaches >85% DRAM Roofline at batch=4 (156.5 tok/s) or with speculative drafter.
📋 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-01 Baseline | oMLX 0.8.3 · MLX 4-bit | Default A16 prefill vs 10-round tuned Dual-ANE (MLP 15%, GDN 37.5%) | 50.8 tok/s TG 1,627 PP@2K (A16) · 1,762.5 PP@2K (Dual-ANE) | 43.5 GB Wired · Pure RAM | 3/3 Deterministic Pass ✅ |
2026-12-05 Optimal ★ | oMLX 0.8.3 · MLX 4-bit | Disabled ANE + M5 Native Q4A8(m64) + Lossless BF16 KV | 52.1 tok/s TG (156.5 Batch-4) 2,768.6 PP@2K (+57.1% vs ANE) · 2,630 PP@16K | 43.8 GB Wired · Pure RAM | 3/3 Math/Code/Logic Pass ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 52.1 tok/s Decode · ≈ 2,417 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) · ≈ 35.4 tok/s Decode · ≈ 798 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) · ≈ 33.3 tok/s Decode · ≈ 580 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) · ≈ 27.1 tok/s Decode · ≈ 1,208 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) · ≈ 14.1 tok/s Decode · ≈ 604 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) · ≈ 8.1 tok/s Decode · ≈ 375 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) · ≈ 5.7 tok/s Decode · ≈ 157 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