Quantization & Engine
Hardware & Mode
Weights & Recipe
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 24 GB
5,907.5
@32K
275.0
tok/s
▲ 38.3%
Kernel Bound
23.0 GB
1.87×
MLX 4-bit
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 24 GB
5,652.0
@32K
147.0
tok/s
▲ 25.7%
Kernel Bound
39.1 GB
1.56×
Optimization history — Peak Decode Throughput (26B MoE 4-bit + Speculative)
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 + DFlash Drafter (0.86 GB) — mlx-community/gemma-4-26b-a4b-it-4bit ↗
omlx-recipe:1:eNqNVMmO2zAM_Redx5NlnCD1rYOif9AzoVhUrFpbJDlLi_57aU_iiRM7mIMBQ3wkHx-Xv4xvwAeUSmtAy7caBSsk1xFfbk1GWUiuRhtZsVhuyFYmdeBJOQvSL9YPvgLRR8QaDvmCjLvADcQowEmpHb_BSc1jBVvtyhqi-oOs-Na_isBlAuMEalaw2a-IIc4SpbJp9uqMPs06W5zt0Bie5dly_Z59z98zlbIfP9sQrI_VE0yh-cx7wKDkuUtBGbjgnspC8pIulAiRG6-V3fV0q3P-rBrjEPDkMaSr6UGYEUjAqATaBDK0sjrLivnrckXY5B_8qSMRLXHzZNHp3GLnL2x_RPu2Am6x71npGxDuaAdhp6H3iSZgt8EWb6tJ3E58NXGseMBOBdeQ6NcOTaBTFZALGsPNKEQ0XLcPT6J8oVDZRGLUivcMRSU-SXMvwGoSZfgJND_TcLMiHy_rFrLORyER9003GJoGNFWsWM4ngl0E_yS3mOhO4kqD50LQCgxOwAWed_QFlrQ-cKQZJk_3eyBZDl7j6K4E9JhUd0H6Ue6IRI_lVK8SGlodnpqAl6FKlbJ1y2_biB2mRw_noe4Yt3_-koMCbN2-oUMC9QG2KrXSPxrujsbQGMsKTXs2Pp_ZABNr5alrMV39D9pAu9Mfd-325q3vjdejN3LZ9py-HOZZY7s8FEBkPEYV0weFa6ShFP_-AysrKDE
MLX 4-bit — mlx-community/gemma-4-26b-a4b-it-4bit ↗
omlx-recipe:1:eNqNU-1uwjAMfJf8nibKCmJ9Gcs0Ds2aJiEfwDTt3ecCY3RtEf8i-3w5n-0vgRvwgZQ2BjptIbmWbBRVsdy8CKyTPmDSzoLyxRrI4taQFJVCE-lFSCIfiVo4lAUndwE7iFGCU8o4vMMpg7EZlSsXaoKInTfa7m7h5rN8RNY5Ajp5Cuk3NSKegASKWpJNoELflbOiWrwuV4xNflS_P5J9WwFaunlT-wzSHe2gfjELfZLxnqx4W83idvLZj2ODgc7tuszuiiqFPP9_agKh5HFvJiEyo-kDD1ieaFTlyIp68x6huMUH3_w3YDWL6vAEBj8pcFfldFv3kHU5CYm0z2R5Ow1vYmpEtVzMkF0N_xNXzEwnoTbgUUre9cGpXeHlWb6k2kmCIy8rV7qPgWUleEOTRxE91XMjSdTxKWDKga7qUqNt28vYZrmjNK5wHtqLN_3T946_s-VMsXX7jHxG7QG2OvUenwkHiRvdZZzDZKwb6ljIXVgMMLHVnscT02_9wXQwvtLvH0TkvI4
⚡ 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 + DFlash Drafter (0.86 GB) (oMLX 0.8.3 (DFlash Speculative + TQ4))
▲ 38.3% · Kernel Bound 275.0 tok/s × 3.01 GB/tok ÷ (1228 GB/s × 1.76× MTP) = 470.3 / 1228 GB/s · 1.35 GB dense + 0.80 GB routed (8/128) + 0.86 GB DFlash drafter (adaptive b=9)
Kernel Bottleneck: DFlash adaptive b=9 boosts effective BW +49% vs single-step (316 -> 470.3 GB/s, 38.3%), but compact 72 MB/layer 30-layer MoE remains launch-latency bound. Next target: fused drafter+verifier graph.
MLX 4-bit (oMLX 0.8.3)
▲ 25.7% · Kernel Bound 147.0 tok/s × 2.15 GB/tok ÷ (1228 GB/s × 1.00× MTP) = 316.1 / 1228 GB/s · 1.35 GB dense + 0.80 GB routed (8/128 of 12.85 GB 4-bit), single-step
Kernel Bottleneck: Single-token decode reads only 2.15 GB (71.7 MB/layer) at 316.1 GB/s (25.7%). Resolved in recommended DFlash + TQ4 profile (275.0 tok/s).
📋 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-04 Baseline | oMLX 0.8.3 · MLX 4-bit | Autoregressive single-token decode, BF16 GQA KV cache | 147.0 tok/s Peak TG (75.9 @ 64K) 2,762 PP@4K · 4,414 PP@64K | 39.1 GB Wired @ 64K · Pure RAM | Code & Zh-Logic Pass ✅ |
2026-12-05 Ablation | oMLX 0.8.3 · MLX 4-bit | +TurboQuant 4-bit KV (cuts GQA 64K bandwidth 4x, still single-token decode) | 156.1 tok/s Coding TG (118.6 @ 64K, +56%) 7,072 PP@4K · 4,454 PP@64K | 22.1 GB Wired @ 64K · Pure RAM | Code & Zh-Logic Pass ✅ |
2026-12-06 Ablation | oMLX 0.8.3 · VLM-MTP Drafter | +Google gemma-4-26B-A4B-it-qat-q4_0-unquantized-assistant (0.87 GB, block=4, BF16 KV) | 196.0 tok/s Coding TG (190.1 E2E) 7,193 PP@4K · 5,958 PP@32K | 21.4–23.1 GB Wired · Pure RAM | 512-tok Red-Black Tree Pass ✅ |
2026-12-06 Ablation | oMLX 0.8.3 · DFlash BF16 KV | +z-lab/gemma-4-26B-A4B-it-DFlash (0.86 GB, adaptive block=9, BF16 KV) | 226.2 tok/s Coding TG (161.2 Synth Bench) 7,330 PP@4K · 4,700 PP@64K | 24.8 GB Wired · Pure RAM | 512-tok Red-Black Tree Pass ✅ |
2026-12-06 Optimal ★ | oMLX 0.8.3 · DFlash + TQ4 KV | +z-lab/gemma-4-26B-A4B-it-DFlash (adaptive block=9) + TurboQuant 4-bit KV | 275.0 tok/s Decode (261.9 E2E · 122.3 @ 64K) 7,245 PP@4K · 5,908 PP@32K · 4,664 PP@64K | 19.3–23.0 GB Wired · Pure RAM | 46.6 tok/chunk Adaptive Verify ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 275.0 tok/s Decode · ≈ 5,908 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) · ≈ 187.0 tok/s Decode · ≈ 1,949 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) · ≈ 176.0 tok/s Decode · ≈ 1,418 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) · ≈ 143.0 tok/s Decode · ≈ 2,954 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) · ≈ 74.2 tok/s Decode · ≈ 1,477 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) · ≈ 42.6 tok/s Decode · ≈ 916 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) · ≈ 30.2 tok/s Decode · ≈ 384 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 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 M5 Ultra · 256GPomavia Lab
pure-ram
≥ 32 GB
8,802.0
@32K
181.1
tok/s
▲ 24.6%
Kernel Bound
42.5 GB
2.49×
Optimization history — Peak Decode Throughput (35B MoE 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.6-35B-A3B-4bit ↗
omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnYZXwQHhZHcoBrKmlrupPecDTChUY7nE-JtHw66hfGZ_vwCYSvGGg
⚡ 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)
▲ 24.6% · Kernel Bound 181.1 tok/s × 1.67 GB/tok ÷ (1228 GB/s × 1.00× MTP) = 302.4 / 1228 GB/s · 1.10 GB GDN/dense + 0.57 GB routed (8/256 of 18.12 GB 4-bit = 41.8 MB/layer)
Kernel Bottleneck: Only 41.8 MB read per layer across 40 GDN+MoE layers — bound by Metal command-buffer dispatch & gather_qmm latency (302.4 GB/s, 24.6%; jumps to 473.9 tok/s @ batch=4). Next target: Metal ICB graph capture + built-in MTP head activation.
📋 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-30 Baseline | oMLX 0.8.3 · MLX 4-bit (gs=64) | Legacy M3/M4 Dual-ANE hybrid prefill (ane-tune calibrated) | 112.4 tok/s TG 8,029.3 PP@2K (ANE dispatch bottleneck) | 41.8 GB Wired · Pure RAM | 3/3 Reasoning Pass ✅ |
2026-12-03 Ablation | oMLX 0.8.3 · MLX 4-bit | Disabled ANE + enabled M5 Q4A8(m64) + TQ8 KV (unnecessary on Hybrid GDN) | 131.3 tok/s TG 10,190 PP@4K | 40.2 GB Wired · Pure RAM | 3/3 Reasoning Pass ✅ |
2026-12-05 Optimal ★ | oMLX 0.8.3 · MLX 4-bit | Pure GPU M5 Q4A8(m64) + Lossless BF16 KV (only 1/4 layers use full KV) | 181.1 tok/s TG (473.9 Batch-4!) 11,086.6 PP@2K (+38.1% vs ANE) · 10,257 PP@16K | 42.5 GB Wired · Pure RAM | 3/3 Deterministic Pass ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 181.1 tok/s Decode · ≈ 8,802 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) · ≈ 123.1 tok/s Decode · ≈ 2,905 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) · ≈ 115.9 tok/s Decode · ≈ 2,112 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) · ≈ 94.2 tok/s Decode · ≈ 4,401 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) · ≈ 48.9 tok/s Decode · ≈ 2,200 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) · ≈ 28.1 tok/s Decode · ≈ 1,364 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 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 M5 Ultra · 256GPomavia Lab
pure-ram
≥ 256 GB
5,693.0
@32K
138.5
tok/s
▲ 44.7%
Kernel Bound
212.9 GB
3.31×
Optimization history — Peak Decode Throughput (180B 8-bit Near-Lossless)
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
oQ8e-MTP (8-bit gs=64) — mlx-community/Qwen3.8-Flash-Next-oQ8e-mtp ↗
omlx-recipe:1:eNqNU9lywjAM_Jc8dzpAA0P5GY2IZeLGsY0Pjun03ytTjgQSylvGWim7K-13gUtwnqTSGsjgWpMoVtEneutWWmUg2oZMKFaLkktVVDuMyhqQbrq4dUrUgVsFkQtEDezKKRc3HlsIQYCVUlvs4KTGUD-0S-srgoCt08psrs_1sXw2rLUEdHDk46X0MHgA4ikoQSaC9FmVNcVq8j6bMzY6QIGOlRK0eABBLtbF6ly6M2u7J_MxBzR0Na1yCYTdm97kySj0nusIrDts-jEfxW3Eqz8ONXo6GWET-_6Polh7QsF3sByEiIQ6PzyZ8oJQmQIzyuY9Q7HEJ7-5N2A-isrL1Xgkz6rKYVldSA7AACTQNpHhu9V8o_lQZpORYWfDb-SmI9uJqDQ4FIJT0MvgGV6e6AuqrCDY8xlzp_3qelKC0zSYluCoGttIpJYzgjF5OpOLtTJNZrFOYkPxscM6aLLkv0-XDf9kx3nE2m4Tcr6aHaxVzIdzGtgr3IWpXwxVTS0T6TwXPUxolOPthHjp3-kWehk9sfz5BQ4uzzM
⚡ 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 oQ8e-MTP (8-bit gs=64) (oMLX 0.8.3)
▲ 44.7% · Kernel Bound 138.5 tok/s × 8.00 GB/tok ÷ (1228 GB/s × 2.02× MTP) = 548.5 / 1228 GB/s · 4.57 GB GDN/dense + 2.51 GB routed (10/512 of 128.4 GB oQ8e) + 0.92 GB MTP
Kernel Bottleneck: 10-of-512 fine-grained expert scatter + 57.6 GB PLE row-miss latency caps effective read at 548.5 GB/s (44.7%). Next target: fused router+gather_q8a8 kernel & SLC-pinned PLE hot rows.
📋 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-29 Baseline | oMLX 0.8.3 · oQ8e-mtp (195 GB) | Default load without Q8A8, without WideProj, without MTP | 86.7 tok/s TG@1K (66.5 @ 32K) 530 PP@1K · 1,534 PP@4K | 205.7 GB Wired · Pure RAM | 3/3 Deterministic Pass ✅ |
2026-12-02 Ablation | oMLX 0.8.3 · oQ8e-mtp | +M5 Q8A8(m64, gs=64) + MTP5 (WideProj still off -> GDN bottleneck) | 63.8 tok/s TG@32K (104.4 @ 16K) 2,658 PP@1K · 3,362 PP@4K | 208.7 GB Wired · Pure RAM | 3/3 Deterministic Pass ✅ |
2026-12-04 Ablation | oMLX 0.8.3 · oQ8e-mtp | +PLE-SSD Table Offload (-53.6 GB RAM; unlocks 128 GB / 192 GB Macs) | 120.0 tok/s TG@32K 2,256 PP@4K · 5,410 PP@32K | 155.1 GB Wired (-53.6 GB) · KB/s NVMe | 3/3 Deterministic Pass ✅ |
2026-12-05 Optimal ★ | oMLX 0.8.3 · oQ8e-mtp | 100% Pure RAM + M5 Q8A8(m64) + qwen4_gdn_decode_wide_proj + TQ8 KV + MTP5 | 138.5 tok/s Peak TG (92.3 @ 128K!) 5,077 PP@4K (+231%) · 5,700 PP@32K · 5,390 PP@128K | 212.9 GB Wired · 0 MB/s Swap | 3/3 Near-Lossless 8-bit Pass ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 138.5 tok/s Decode · ≈ 5,693 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) · ≈ 94.2 tok/s Decode · ≈ 1,879 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) · ≈ 88.6 tok/s Decode · ≈ 1,366 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) · ≈ 72.0 tok/s Decode · ≈ 2,846 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 Quantization & Engine
Output Spec
Weights & Recipe
1024x1024Pomavia Lab
4 steps · M5 Ultra
≥ 16 GB
2.04s
● 74.5%
Near-Peak
25.0 GB
1.18×
Optimization history — 1024×1024 4-Step Generation Time (Lower = Better)
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 8-bit — black-forest-labs/FLUX.2-klein-4B ↗
python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-4B --base-model flux2-klein-4b -q 8 --warmup --steps 4 --width 1024 --height 1024
⚡ Hardware roofline · compute efficiency (DiT TFLOPS)
η_FLOPs = sustained TFLOPS / chip peak BF16 tensor TFLOPS · ≥75% = compute roofline MLX 8-bit (mflux 0.24.0 Resident Warm (MLX 0.32.5))
● 74.5% · Near-Peak Sustained 102.8 TFLOPS / 138 TFLOPS peak (mflux 0.24.0 Resident Warm (MLX 0.32.5))
4B DiT @ 1024x1024 (4 steps in 2.04s) sustains 102.8 TFLOPS (74.5% Compute Roofline) via warm MLX 8-bit.
📋 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-06 Baseline | mflux 0.24.0 · MLX BF16 | 1st-run cold JIT vs Warm Resident BF16 (1024×1024, 4 steps) | 2.41s Cold -> 2.06s Warm 0.30s mmap load · 4 steps | 14.47 GB MLX · 25.9 GB Wired | Zero NaN · Crisp EN Signage ✅ |
2026-12-06 Optimal ★ | mflux 0.24.0 · Resident MLX 8-bit | Resident Python pipeline with warmup + 8-bit quantized DiT (1K & 2K) | 2.04s Warm 1K · 10.12s Warm 2K 0.33s load · 2.40s cold 1st-run | 11.76 GB MLX (14.11 GB @ 2K) -> Fits 16 GB Mac! | Pixel-faithful to BF16 (std=53.9) ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 2.0s (1024x1024)
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) · ≈ 6.2s (1024x1024)
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) · ≈ 8.5s (1024x1024)
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) · ≈ 4.1s (1024x1024)
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) · ≈ 8.2s (1024x1024)
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) · ≈ 13.2s (1024x1024)
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) · ≈ 31.4s (1024x1024)
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 1024x1024Pomavia Lab
4 steps · M5 Ultra
≥ 24 GB
3.66s
● 72.0%
Near-Peak
30.0 GB
1.56×
BF16
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
1024x1024Pomavia Lab
4 steps · M5 Ultra
≥ 64 GB
3.45s
● 83.0%
Compute Peak
50.0 GB
—
Optimization history — 1024×1024 4-Step Generation Time (Lower = Better)
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 8-bit — black-forest-labs/FLUX.2-klein-9B ↗
python models/image/flux2-klein-4b/run.py --model-path /path/to/FLUX.2-klein-9B --base-model flux2-klein-9b -q 8 --warmup --steps 4 --width 1024 --height 1024
python -c "import torch; from diffusers import DiffusionPipeline; p=DiffusionPipeline.from_pretrained('/path/to/FLUX.2-klein-9B', torch_dtype=torch.bfloat16).to('mps'); p('...', num_inference_steps=4, guidance_scale=1.0).images[0].save('out.png')"
⚡ Hardware roofline · compute efficiency (DiT TFLOPS)
η_FLOPs = sustained TFLOPS / chip peak BF16 tensor TFLOPS · ≥75% = compute roofline MLX 8-bit (mflux 0.24.0 Resident Warm (MLX 0.32.5))
● 72.0% · Near-Peak Sustained 99.4 TFLOPS / 138 TFLOPS peak (mflux 0.24.0 Resident Warm (MLX 0.32.5))
Compute-bound DiT evaluated against Metal BF16 tensor core ceiling.
BF16 (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 83.0% · Compute Peak Sustained 114.5 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
9B DiT warm PyTorch MPS BF16 sustains 114.5 TFLOPS (83.0% Compute Roofline) at 50 GB Wired.
📋 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-03 Baseline | mflux 0.24.0 CLI · BF16 / 8-bit | Single-shot CLI invocation (includes model load + Metal JIT every image) | 9.0s BF16 Cold · 5.70s 8-bit Cold 20.3s @ 2048×2048 | 20.03 GB MLX · 30.0 GB Wired | 4-bit tested (5.6s, garbles text ❌) |
2026-12-05 Warm MPS | diffusers 0.43.0 + torch 2.15.0 (MPS) | Resident PyTorch MPS BF16 pipeline (1024² & 2048², 4 steps) | 3.45s Warm 1K · 17.46s Warm 2K 8.9s initial load · 0.862s/step | 50.0 GB Wired @ 1K · 117.7 GB @ 2K | Crisp English typography ✅ |
2026-12-06 Optimal ★ | mflux 0.24.0 · Resident MLX 8-bit | In-process warm MLX 8-bit (eliminates per-image CLI load & Metal JIT) | 3.66s Warm 1K · 17.90s Warm 2K 0.32s load · -35.8% vs Cold CLI | 20.0–27.3 GB MLX (4.3x less RAM than MPS @ 2K!) | Zero NaN · Matches BF16 (std=63.5) ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 3.7s (1024x1024)
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) · ≈ 11.1s (1024x1024)
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) · ≈ 15.3s (1024x1024)
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) · ≈ 7.3s (1024x1024)
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.6s (1024x1024)
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) · ≈ 23.6s (1024x1024)
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) · ≈ 56.3s (1024x1024)
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 1024x1024Pomavia Lab
8 steps · M5 Ultra
≥ 48 GB
5.00s
● 76.8%
Compute Peak
39.0 GB
5.32×
MLX 8-bit (30-step + StepCache 0.2)
mflux 0.24.0 Resident Warm (MLX 0.32.5) · @hiddendevj
1024x1024Pomavia Lab
30 steps · M5 Ultra
≥ 48 GB
16.21s
● 75.0%
Compute Peak
38.0 GB
1.64×
Optimization history — 1024×1024 Bilingual Text-Rendering Image Time (Lower = Better)
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 8-bit (Turbo 8-step) — Qwen/Qwen-Image-2.1 ↗
python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1-Turbo --base-model qwen-image-2.1-turbo -q 8 --warmup --steps 8 --width 1024 --height 1024
MLX 8-bit (30-step + StepCache 0.2) — Qwen/Qwen-Image-2.1 ↗
python models/image/qwen-image-2.1/run_warm.py --model-path /path/to/Qwen-Image-2.1 --base-model qwen-image-2.1 -q 8 --warmup --steps 30 --guidance 4.0 --step-cache-ratio 0.2 --width 1024 --height 1024
⚡ Hardware roofline · compute efficiency (DiT TFLOPS)
η_FLOPs = sustained TFLOPS / chip peak BF16 tensor TFLOPS · ≥75% = compute roofline MLX 8-bit (30-step + StepCache 0.2) (mflux 0.24.0 Resident Warm (MLX 0.32.5))
● 75.0% · Compute Peak Sustained 103.5 TFLOPS / 138 TFLOPS peak (mflux 0.24.0 Resident Warm (MLX 0.32.5))
30-step + StepCache 0.2 (16.21s warm) sustains 103.5 effective TFLOPS (75.0% Compute Roofline).
MLX 8-bit (Turbo 8-step) (mflux 0.24.0 Resident Warm (MLX 0.32.5))
● 76.8% · Compute Peak Sustained 106.0 TFLOPS / 138 TFLOPS peak (mflux 0.24.0 Resident Warm (MLX 0.32.5))
7B DiT Turbo 8-step (5.00s warm @ 1K) sustains 106.0 TFLOPS (76.8% Compute Roofline) on MLX 8-bit.
📋 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 | diffusers 0.43.0 (MPS BF16) | 30-step PyTorch MPS BF16 @ 1024×1024 | 26.6s Gen Time 0.714s/step · 30 steps | 46.2 GB Wired | Exact CJK & EN signage ✅ |
2026-12-04 MLX 8-bit | mflux 0.24.0 · MLX 8-bit | 30-step Native MLX 8-bit (+22% vs MPS; 4-bit rejected due to signage typos) | 21.1s Total @ 1K (106.1s @ 2K) 1.71 it/s · 30 steps | 38.0 GB Wired | Exact CJK & EN signage at 1K/2K ✅ |
2026-12-05 Turbo Cold | mflux 0.24.0 · Qwen-Image-2.1-Turbo | Official 8-step CFG=1 Turbo checkpoint in single-shot CLI MLX 8-bit | 11.4s Cold @ 1K · 35.2s @ 2K 8 steps · 3x faster 2K | 39.0 GB Wired | Crisp CJK signage & composition ✅ |
2026-12-06 30-Step Warm ★ | mflux 0.24.0 · Resident MLX 8-bit | Resident warm 30-step + step_cache_ratio=0.2 (19.36s uncached warm) | 16.21s Warm @ 1K (+64% vs MPS) 0.33s load · 30 steps | 36.5 GB MLX · 38.0 GB Wired | Zero NaN · Matches uncached (std=33.3) ✅ |
2026-12-06 Optimal ★ | mflux 0.24.0 · Resident Turbo 8-bit | Resident warm Qwen-Image-2.1-Turbo 8-step (eliminates per-image CLI JIT & load) | 5.00s Warm @ 1K · 28.26s Warm @ 2K 0.48s load · 5.32x faster vs MPS baseline! | 36.0 GB MLX · 39.0 GB Wired | Zero NaN · Exact CJK signage (std=40.1) ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 5.0s (1024x1024)
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) · ≈ 15.2s (1024x1024)
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) · ≈ 20.8s (1024x1024)
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) · ≈ 10.0s (1024x1024)
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) · ≈ 20.0s (1024x1024)
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 1024x1024Pomavia Lab
8 steps · M5 Ultra
≥ 32 GB
7.90s
● 72.1%
Near-Peak
36.8 GB
—
Optimization history — 1024×1024 Photorealistic Generation Time (Lower = Better)
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 8-bit / BF16 — Tongyi-MAI/Z-Image-Turbo ↗
mflux-generate-z-image-turbo --model /path/to/Z-Image-Turbo -q 8 --steps 8 --width 1024 --height 1024 --seed 42 --prompt '...'
⚡ Hardware roofline · compute efficiency (DiT TFLOPS)
η_FLOPs = sustained TFLOPS / chip peak BF16 tensor TFLOPS · ≥75% = compute roofline MLX 8-bit / BF16 (mflux 0.24.0 (MLX 0.32.5))
● 72.1% · Near-Peak Sustained 99.5 TFLOPS / 138 TFLOPS peak (mflux 0.24.0 (MLX 0.32.5))
6B DiT 8-step (7.9s total incl. CLI init) achieves 99.5 TFLOPS (72.1% Near-Roofline; warm loop can save ~1.2s).
📋 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-03 Baseline | mflux 0.24.0 · MLX BF16 | Unquantized BF16 @ 1024×1024 (9 steps, guidance=0) | 8.9s Total (~6.5s denoise) 1.38 it/s · 9 steps | 36.0 GB Wired | Exact CJK + EN signage ✅ |
2026-12-05 Optimal ★ | mflux 0.24.0 · MLX 8-bit | 8-bit quantized DiT @ 1024×1024 (8 steps) & 1536×864 (9 steps) | 7.9s @ 1K · 10.8s @ 1536×864 1.45 it/s · 8 steps | 36.5 GB Wired (fits 36–48 GB Macs) | Matches BF16 photorealism ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 7.9s (1024x1024)
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) · ≈ 23.9s (1024x1024)
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) · ≈ 32.9s (1024x1024)
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) · ≈ 15.8s (1024x1024)
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) · ≈ 31.6s (1024x1024)
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) · ≈ 51.0s (1024x1024)
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 Quantization & Engine
Output Spec
Weights & Recipe
RECPATCH ↗BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
832x480Pomavia Lab
81f (5.06s) · 4 steps
≥ 96 GB
82.50s
● 71.8%
Near-Peak
90.0 GB
21.4×
PATCH ↗MLX 8-bit Fused Dual-LoRA DiT + BF16 VAE
Native MLX 0.32.5 (mlx-video + wan22_mlx.py) · @hiddendevj
832x480Pomavia Lab
81f (5.06s) · 4 steps
≥ 32 GB
88.74s
● 67.4%
Near-Peak
31.5 GB
19.9×
PATCH ↗BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
1280x720Pomavia Lab
81f (5.06s) · 4 steps
≥ 128 GB
357.30s
● 75.5%
Compute Peak
109.8 GB
—
PATCH ↗BF16 DiT + FP32 VAE (Zero-Training FirstBlockCache)
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
832x480Pomavia Lab
81f (5.06s) · 40 steps
≥ 128 GB
819.40s
● 64.8%
Near-Peak
105.0 GB
2.15×
PATCH ↗BF16 DiT + FP32 VAE (TaylorSeerCache w/ blocks.* fix)
diffusers 0.43.0 + torch 2.15.0 (MPS) · @hiddendevj
832x480Pomavia Lab
81f (5.06s) · 40 steps
≥ 128 GB
843.90s
● 62.9%
Near-Peak
100.9 GB
2.09×
Optimization history — 832×480 · 81-Frame Video Generation Time (Lower = Better)
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
BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA — lightx2v/Wan2.2-Distill-Loras ↗
python models/video/wan2.2-t2v-a14b/run.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --mode lightning4 --vae-bf16 --width 832 --height 480
MLX 8-bit Fused Dual-LoRA DiT + BF16 VAE — Wan-AI/Wan2.2-T2V-A14B-Diffusers ↗
python models/video/wan2.2-t2v-a14b/run_mlx.py --model /path/to/Wan2.2-T2V-A14B-Diffusers --lora-dir /path/to/Wan2.2-Distill-Loras --sequential --width 832 --height 480
⚡ Hardware roofline · compute efficiency (DiT TFLOPS)
η_FLOPs = sustained TFLOPS / chip peak BF16 tensor TFLOPS · ≥75% = compute roofline BF16 DiT + FP32 VAE (Zero-Training FirstBlockCache) (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 64.8% · Near-Peak Sustained 89.4 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
40-step CFG + FirstBlockCache sustains 89.4 TFLOPS (64.8%); superseded by 4-step lightx2v LoRA (82.5s).
BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 71.8% · Near-Peak Sustained 99.1 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
Dual 14B DiT @ 32,760 tokens (4 steps + BF16 VAE = 82.5s) sustains 99.1 TFLOPS (71.8% Near-Roofline).
BF16 DiT + BF16 VAE + lightx2v 4-step Dual LoRA (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 75.5% · Compute Peak Sustained 104.2 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
720p 73,710-token 3D full attention sustains 104.2 TFLOPS (75.5% Compute Roofline).
MLX 8-bit Fused Dual-LoRA DiT + BF16 VAE (Native MLX 0.32.5 (mlx-video + wan22_mlx.py))
● 67.4% · Near-Peak Sustained 93.0 TFLOPS / 138 TFLOPS peak (Native MLX 0.32.5 (mlx-video + wan22_mlx.py))
Native MLX 8-bit pre-fused LoRA DiT sustains 93.0 TFLOPS (67.4% Near-Roofline) while cutting RAM 90 GB -> 21.6 GB MLX.
BF16 DiT + FP32 VAE (TaylorSeerCache w/ blocks.* fix) (diffusers 0.43.0 + torch 2.15.0 (MPS))
● 62.9% · Near-Peak Sustained 86.8 TFLOPS / 138 TFLOPS peak (diffusers 0.43.0 + torch 2.15.0 (MPS))
40-step TaylorSeerCache sustains 86.8 TFLOPS (62.9%); superseded by 4-step lightx2v LoRA (82.5s).
📋 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 | diffusers 0.43.0 + torch 2.15.0 (MPS) | Official 40-step CFG=4.0/3.0 + FP32 VAE (832×480, 81f = 5.06s) | 1,765.3s (29.4 min) 14.1s load · 1.0x baseline | 99.5 GB Wired | f0/f40/f80 Cinema Reference ✅ |
2026-12-03 Kernel/Patch | diffusers 0.43.0 + wan22_mps.py | Training-free TaylorSeerCache (patched skip=blocks.\d+, cache=proj_out regex) | 843.9s (2.09x faster) 13.8s load · 40 steps no-LoRA | 100.9 GB Wired | f0/f40/f80 Visual Check Pass ✅ |
2026-12-04 Training-Free ★ | diffusers 0.43.0 + wan22_mps.py | Training-free FirstBlockCache(threshold=0.12) across dual 14B MoE transformers | 819.4s (2.15x faster, skips 22/40 steps) 14.4s load · Pixel-faithful to 40-step | 105.0 GB Wired | Near-identical to uncached 40-step ✅ |
2026-12-05 MPS Speed ★ | diffusers 0.43.0 + wan22_mps.py | Fused lightx2v 4-step Dual-LoRA (asserted weight delta >1e-5, shift=5.0) + BF16 VAE | 82.5s @ 480p (21.4x) · 357.3s @ 720p 24.6s load · Saves 10.6–17.9 GB vs FP32 VAE | 90.0 GB Wired @ 480p · 109.8 GB @ 720p | Zero NaN/banding · Fits 128 GB Mac! ✅ |
2026-12-06 MLX 8-bit Low-RAM ★ | Native MLX 0.32.5 (mlx-video + wan22_mlx.py) | Pre-quantization BF16 Dual-LoRA fuse + 8-bit DiT (gs=64) sequential swap + precomputed Cross-KV | 88.74s @ 480p (6.05s VAE · 92.85s dual) 1.0s load · Unlocks 32 GB / 48 GB / 64 GB Macs! | 21.57 GB MLX · 31.49 GB Wired (-65% vs MPS!) | 40-layer cos=0.99885 vs BF16 · f0/f40/f80 ✅ |
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 82.5s (832x480)
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) · ≈ 250.0s (832x480)
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) · ≈ 343.8s (832x480)
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) · ≈ 165.0s (832x480)
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) · ≈ 330.0s (832x480)
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) · ≈ 532.3s (832x480)
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