M2M Model2Metal

Registro verificado y recetas listas para usar

Con memoria Wired real y verificación de calidad. Haz clic en cualquier fila para copiar la receta.

¿Descarga automática en 1 clic? Usa m2m-mcp →
Ver ficha del Mac →
🏆 Envíos de la comunidad + verificación de Pomavia Lab Envía una receta más rápida o un parche de 4 niveles (¿sin Mac de 256 / 512 GB? pide una prueba). Cuando Pomavia Lab lo reproduce, tu resultado y tu @contributor quedan registrados en CONTRIBUTORS.md.
Registro de contribuidores ↗ Especificación de niveles y laboratorio ↗
① Enviar receta / parche de 4 niveles → ② CI de seguridad AST + equivalencia → ③ Reproducción en Pomavia Lab → ④ Registro permanente y crédito @contributor
Recompensas de kernel abiertas (η_BW < 60 %):
Chip Mac:
RAM del Mac:
Umbral roofline:
ηBW = (Decode × Active_Bytes) / (Chip_BW × MTP)
Cuantización y motor
Hardware y modo
Pesos y receta
llm Gemma-4-26B-A4B AA 4 · Int. v5 Hugging Face Gemma · 2 configuraciones · mín. 24 GB 1.87× vs 12-02
Detalles →
RECMLX 4-bit + DFlash Drafter (0.86 GB)
oMLX 0.8.3 (DFlash Speculative + TQ4) · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 24 GB
5,907.5
@32K
275.0
tok/s
▲ 38.3%
Limitado por kernel
23.0 GB
1.87×
HF
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%
Limitado por kernel
39.1 GB
1.56×
HF
Historial de optimización — Peak Decode Throughput (26B MoE 4-bit + Speculative)
147.0 tok/s2026-12-02Single-Token 4-bit156.1 tok/s2026-12-05+TurboQuant 4-bit KV196.0 tok/s2026-12-06+Google Assistant VLM-MTP275.0 tok/s2026-12-06+DFlash Adaptive + TQ4
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
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
omlx-recipe:1:eNqNU-1uwjAMfJf8nibKCmJ9Gcs0Ds2aJiEfwDTt3ecCY3RtEf8i-3w5n-0vgRvwgZQ2BjptIbmWbBRVsdy8CKyTPmDSzoLyxRrI4taQFJVCE-lFSCIfiVo4lAUndwE7iFGCU8o4vMMpg7EZlSsXaoKInTfa7m7h5rN8RNY5Ajp5Cuk3NSKegASKWpJNoELflbOiWrwuV4xNflS_P5J9WwFaunlT-wzSHe2gfjELfZLxnqx4W83idvLZj2ODgc7tuszuiiqFPP9_agKh5HFvJiEyo-kDD1ieaFTlyIp68x6huMUH3_w3YDWL6vAEBj8pcFfldFv3kHU5CYm0z2R5Ow1vYmpEtVzMkF0N_xNXzEwnoTbgUUre9cGpXeHlWb6k2kmCIy8rV7qPgWUleEOTRxE91XMjSdTxKWDKga7qUqNt28vYZrmjNK5wHtqLN_3T946_s-VMsXX7jHxG7QG2OvUenwkHiRvdZZzDZKwb6ljIXVgMMLHVnscT02_9wXQwvtLvH0TkvI4
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
MLX 4-bit + DFlash Drafter (0.86 GB) (oMLX 0.8.3 (DFlash Speculative + TQ4))
▲ 38.3% · Limitado por kernel
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)
Cuello de botella del kernel: DFlash adaptativo b=9 sube el ancho de banda efectivo un +49 % frente al paso único (316 → 470.3 GB/s, 38.3 %), pero el MoE compacto de 30 capas con 72 MB/capa sigue limitado por la latencia de lanzamiento. Próximo objetivo: grafo fusionado drafter+verifier.
MLX 4-bit (oMLX 0.8.3)
▲ 25.7% · Limitado por kernel
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
Cuello de botella del kernel: el decode de un solo token lee solo 2.15 GB (71.7 MB/capa) a 316.1 GB/s (25.7 %). Resuelto en el perfil recomendado DFlash + TQ4 (275.0 tok/s).
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y 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)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 187.0 tok/s Decode · ≈ 1,949 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
Mac Studio / Mac Pro (M2 Ultra) (192 GB · 800 GB/s) · ≈ 176.0 tok/s Decode · ≈ 1,418 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=182400 iogpu.wired_lwm_mb=174720
Enviar PR ↗
Mac Studio / MBP (M5 Max) (128 GB · 614 GB/s) · ≈ 143.0 tok/s Decode · ≈ 2,954 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=121600 iogpu.wired_lwm_mb=116480
Enviar PR ↗
Mac mini / MBP (M5 Pro) (64 GB · 307 GB/s) · ≈ 74.2 tok/s Decode · ≈ 1,477 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=60800 iogpu.wired_lwm_mb=58240
Enviar PR ↗
Mac mini / MBP 14″ / iMac (M6) (32 GB · 170 GB/s) · ≈ 42.6 tok/s Decode · ≈ 916 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=28160 iogpu.wired_lwm_mb=26560
Enviar PR ↗
Mac mini / MacBook Air (M4) (24 GB · 120 GB/s) · ≈ 30.2 tok/s Decode · ≈ 384 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=21120 iogpu.wired_lwm_mb=19920
Enviar PR ↗
llm Qwen3.6-35B-A3B AA 19 · Int. v5 Hugging Face Qwen · 1 configuración · mín. 32 GB 1.61× vs 11-30
Detalles →
RECMLX 4-bit (gs=64)
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 32 GB
8,802.0
@32K
181.1
tok/s
▲ 24.6%
Limitado por kernel
42.5 GB
2.49×
HF
Historial de optimización — Peak Decode Throughput (35B MoE 4-bit)
112.4 tok/s2026-11-30Legacy Dual-ANE131.3 tok/s2026-12-03Pure GPU + TQ4 KV181.1 tok/s2026-12-05M5 Q4A8 + BF16 KV
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnYZXwQHhZHcoBrKmlrupPecDTChUY7nE-JtHw66hfGZ_vwCYSvGGg
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
MLX 4-bit (gs=64) (oMLX 0.8.3)
▲ 24.6% · Limitado por kernel
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)
Cuello de botella del kernel: solo se leen 41.8 MB por capa en 40 capas GDN+MoE — limitado por el despacho de command buffers de Metal y la latencia de gather_qmm (302.4 GB/s, 24.6 %; sube a 473.9 tok/s con batch=4). Próximo objetivo: captura de grafo Metal ICB + activación de la cabeza MTP integrada.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y 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)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 123.1 tok/s Decode · ≈ 2,905 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
Mac Studio / Mac Pro (M2 Ultra) (192 GB · 800 GB/s) · ≈ 115.9 tok/s Decode · ≈ 2,112 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=182400 iogpu.wired_lwm_mb=174720
Enviar PR ↗
Mac Studio / MBP (M5 Max) (128 GB · 614 GB/s) · ≈ 94.2 tok/s Decode · ≈ 4,401 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=121600 iogpu.wired_lwm_mb=116480
Enviar PR ↗
Mac mini / MBP (M5 Pro) (64 GB · 307 GB/s) · ≈ 48.9 tok/s Decode · ≈ 2,200 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=60800 iogpu.wired_lwm_mb=58240
Enviar PR ↗
Mac mini / MBP 14″ / iMac (M6) (32 GB · 170 GB/s) · ≈ 28.1 tok/s Decode · ≈ 1,364 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=28160 iogpu.wired_lwm_mb=26560
Enviar PR ↗
llm GLM-5.3-Flash AA 28 · Int. v5 Hugging Face GLM · 1 configuración · mín. 256 GB 2.36× vs 12-01
Detalles →
RECMLX 4-bit + MTP
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 256 GB
2,364.0
@32K
168.1
tok/s
● 75.6%
Límite del silicio
195.9 GB
2.36×
HF
Historial de optimización — Peak Decode Throughput (320B MoE 4-bit)
71.2 tok/s2026-12-01Baseline 4-bit119.5 tok/s2026-12-03+Wired 249GB & TQ8168.1 tok/s2026-12-05+MTP Depth 5
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
omlx-recipe:1:eNqNU1tywjAMvEu-mQ6BhKG5jEbEMnHj2MYPHtPp3aswQAkklF9rtdautN8ZrsF5kkpr6JSBaFsyIavyxXqWYR3VHqOyBqTLV0AGN5pEVknUgWaZIHKBqIV9kXNx67GDEARYKbXFO5zUGJqndml9TRCwc1qZ7e25ORWvyDpLQEdHPl5LT8QjEE9BCTIRpO9VWZNV849FydjoAAU6VkrQ4REEudhk1aV0o44-MfPuQGZZAhq6uVa7BMIezIB5Pgl9nHUCdk-WL8tJ3Fa8-3Fo0NPZCJvY938UxcYTCj6E9ShEJNT9wwuWN4TKFHii3rxXKJb44ptHA8pJVL9cjSfyrKoYl3UPWRWjkEC7RIbvVvON9oeymE-QXQz_Gy6f2E5EpcGhEJyCQQgv8OI8vqDaCoIDnzF32q-BZQU4TaNxCY7qqZVE6jgkGJOny3SxUabtx9gksaX43GEduN7mT_aZ-zZ2l5BT1e5ho2J_LmeWQeEhQsNiqBvq-Pe752yACa1yvJMQr_173cEgmefRfn4BizHDDA
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
MLX 4-bit + MTP (oMLX 0.8.3)
● 75.6% · Límite del silicio
168.1 tok/s × 9.77 GB/tok ÷ (1228 GB/s × 1.77× MTP) = 927.9 / 1228 GB/s · 4.90 GB KDA/dense + 4.87 GB routed (8/288 of 175.3 GB 4-bit)
Alcanza el 75.6 % del techo DRAM del M5 Ultra (927.9 GB/s) con gather_qmm nativo M5 Q4A8(gs=64) + MTP5.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y repro
2026-12-01
Baseline
oMLX 0.8.3 · 4bit-MTP (182 GB)
Standard 4-bit single-token decode without MTP or wired sysctl tuning 71.2 tok/s TG
1,006 PP@4K
192.4 GB Wired · Pure RAM
3/3 Deterministic Pass ✅
2026-12-03
Ablation
oMLX 0.8.3 · 4bit-MTP
+Unlocked iogpu.wired_limit_mb=249036 + TurboQuant 8-bit KV + MTP depth=3 119.5 tok/s TG
2,310 PP@4K
195.2 GB Wired · Pure RAM
3/3 Deterministic Pass ✅
2026-12-05
Optimal ★
oMLX 0.8.3 · 4bit-MTP
100% Pure RAM + Adaptive MTP depth=5 + TurboQuant 8-bit KV 168.1 tok/s Peak TG (155.9 @ 128K!)
2,374 PP@4K (+136%) · 2,287 PP@128K
195.9 GB Wired · 0 MB/s Swap
3/3 Math(34196)/Code/Logic ✅
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 168.1 tok/s Decode · ≈ 2,364 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 114.3 tok/s Decode · ≈ 780 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
llm Qwen3.8-Flash-Next AA 28 · Int. v5 Hugging Face Qwen · 1 configuración · mín. 128 GB 3.31× vs 11-29
Detalles →
RECoQ8e-MTP (8-bit gs=64)
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 256 GB
5,693.0
@32K
138.5
tok/s
▲ 44.7%
Limitado por kernel
212.9 GB
3.31×
HF
Historial de optimización — Peak Decode Throughput (180B 8-bit Near-Lossless)
41.8 tok/s2026-11-29Naive oQ8e68.4 tok/s2026-12-02+M5 Q8A8(m64)104.2 tok/s2026-12-04+GDN WideProj & TQ8138.5 tok/s2026-12-05+MTP5Pure-RAM
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
omlx-recipe:1:eNqNU9lywjAM_Jc8dzpAA0P5GY2IZeLGsY0Pjun03ytTjgQSylvGWim7K-13gUtwnqTSGsjgWpMoVtEneutWWmUg2oZMKFaLkktVVDuMyhqQbrq4dUrUgVsFkQtEDezKKRc3HlsIQYCVUlvs4KTGUD-0S-srgoCt08psrs_1sXw2rLUEdHDk46X0MHgA4ikoQSaC9FmVNcVq8j6bMzY6QIGOlRK0eABBLtbF6ly6M2u7J_MxBzR0Na1yCYTdm97kySj0nusIrDts-jEfxW3Eqz8ONXo6GWET-_6Polh7QsF3sByEiIQ6PzyZ8oJQmQIzyuY9Q7HEJ7-5N2A-isrL1Xgkz6rKYVldSA7AACTQNpHhu9V8o_lQZpORYWfDb-SmI9uJqDQ4FIJT0MvgGV6e6AuqrCDY8xlzp_3qelKC0zSYluCoGttIpJYzgjF5OpOLtTJNZrFOYkPxscM6aLLkv0-XDf9kx3nE2m4Tcr6aHaxVzIdzGtgr3IWpXwxVTS0T6TwXPUxolOPthHjp3-kWehk9sfz5BQ4uzzM
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
oQ8e-MTP (8-bit gs=64) (oMLX 0.8.3)
▲ 44.7% · Limitado por kernel
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
Cuello de botella del kernel: la dispersión fina en 10 de 512 expertos y la latencia de row-miss de 57.6 GB de PLE limitan la lectura efectiva a 548.5 GB/s (44.7 %). Próximo objetivo: kernel fusionado router+gather_q8a8 y filas calientes de PLE fijadas en la SLC.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y 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)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 94.2 tok/s Decode · ≈ 1,879 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
Mac Studio / Mac Pro (M2 Ultra) (192 GB · 800 GB/s) · ≈ 88.6 tok/s Decode · ≈ 1,366 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=182400 iogpu.wired_lwm_mb=174720
Enviar PR ↗
Mac Studio / MBP (M5 Max) (128 GB · 614 GB/s) · ≈ 72.0 tok/s Decode · ≈ 2,846 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=121600 iogpu.wired_lwm_mb=116480
Enviar PR ↗
llm DeepSeek-V4.1-Flash AA 32 · Int. v5 Hugging Face DeepSeek · 2 configuraciones · mín. 256 GB 1.97× vs 11-28
Detalles →
RECoQ2.5e-MTP (~2.5-bit)
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
table-offload
≥ 256 GB
3,252.0
@32K
108.2
tok/s
● 75.4%
Límite del silicio
223.0 GB
1.98×
HF
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%
Límite NVMe
220.8 GB
3.95×
HF
Historial de optimización — Peak Decode Throughput (552B MoE oQ2.5e)
54.9 tok/s2026-11-28Baseline MLX72.4 tok/s2026-12-01+Engram SSD Offload89.6 tok/s2026-12-03+M5 Q4A8 & Lossless MLA KV108.2 tok/s2026-12-05+Adaptive MTP5
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
omlx-recipe:1:eNqNU9lywjAM_Jc8dzqEBqaTn9GIWCZuHNv44JhO_70yDYVAQvtoa3XsSvtZ4Ds4T1JpDWRwo0kUdfSJXm4jvTIQbUcmFPW64lAT1R6jsgakK9fXTIk6cKogcoGog31VQkNirsUIR2brsYcQBFgptcUrTGoM7UOXnzfEVplOme0FLa1vCAL2Tp9_B3R7qiZbDOEej9BYE-kY4aCMsIeiXq6XZcV0e0tAR0c-XtIeZpmAeApKkIkgfdbLmqJevC5XjI0OUKBjDQlyX0EutkU9hO402h3IvK0ADf2q2LgEPKAZVV7MQu9nnYHdFivfVrO4rfhv49Cip7MQNvFO_mAUW08o-MLeJyEioc4fT6r8g6hMgSfK4j1DMcUnbe4FWM2i8nI1nsgzq2qa1i0kW2sCEmiXyPBNa77ffCjLxUyxQfDrcOXMdiIqDQ6FYIeM3D3Aq_P4ghoriO0gcqb9GElWgWPzTVkpOGrmVnIxK2yS2FJ8jCe_sbuEbJtuDxsV8z1kEuPA87TQtNTzodx8FyNM6JRj1UO8bHmvexh571z36xuD--PM
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
Official Unquantized FP8 (510.3 GB) (oMLX 0.8.3)
● 96.2% · Límite NVMe
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
Satura la lectura secuencial NVMe de 8.56 GB/s (96.2 % del techo físico del SSD de Apple) con 220.8 GB Wired.
oQ2.5e-MTP (~2.5-bit) (oMLX 0.8.3)
● 75.4% · Límite del silicio
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
Sostiene 926.3 GB/s (75.4 % del roofline DRAM) con kernels Metal afines oQ2.5e y descarga de las tablas Engram frías.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y 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)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 73.6 tok/s Decode · ≈ 1,073 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
llm Inkling-2-Mini AA 13 · Int. v5 Hugging Face Inkling · 1 configuración · mín. 24 GB 2.21× vs 12-02
Detalles →
RECoQ4e-MTP (4-bit)
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 24 GB
3,381.0
@32K
102.8
tok/s
▲ 23.6%
Limitado por kernel
46.5 GB
2.21×
HF
Historial de optimización — Peak Decode Throughput (oQ4e-MTP)
46.5 tok/s2026-12-02Standard 4-bit102.8 tok/s2026-12-05+MTP5 & Q4A8
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
omlx-recipe:1:eNqNU9tuwjAM_Zc-o4myghA_Y5nGoVnTJOTCRdP-fS4qrIW249U-PvY5tr8z3ILzJJXW0CgD0dZkQrbLV9tFhmVUJ4zKGpAu3wAZ3GsS2U6iDrTIBJELRDWcipyTB48NhCDASqkt9nBSY6heyqX1JUHAxmllDo9wdS3myBpLQBdHPt5TL8QjEE9BCTIRpG9VWZPtlh-rNWOjAxToWClBgxcQ5GKV7brUgzr6xMzHM5nPNaChh2ulSyDs2QyYl5PQ51knYH2y_HM9iTuIdxuHCj3djLCJff9HUaw8oeBD2I5CRELdBmZY3hAqU-CJWvPmUCxxps2zAetJVLtcjVfyrKoYl9WHbIpRSKBjIsN3q_lG20NZLSfIOsP_hssnthNRaXAoBH_B4Ak7eHEbX1BpBcGZz5gr7dfAsgKcptF3CY7KqZVEavhJMCZP3XSxUqZux9gncaD4WpH83h4T8iPVJ9ir2Hp5Kxwk5stCWVHDHXvhbIAJtXK8hxDvez_pBgbfeOP9-QUoYr-7
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
oQ4e-MTP (4-bit) (oMLX 0.8.3)
▲ 23.6% · Limitado por kernel
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)
Cuello de botella del kernel: el bucle recurrente de 3 pasadas ejecuta 48 despachos MoE en serie sobre porciones compactas de 129 MB por pasada (289.3 GB/s, 23.6 %). Próximo objetivo: fusión de command buffers de Metal entre pasadas.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y 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)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 69.9 tok/s Decode · ≈ 1,116 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
Mac Studio / Mac Pro (M2 Ultra) (192 GB · 800 GB/s) · ≈ 65.8 tok/s Decode · ≈ 811 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=182400 iogpu.wired_lwm_mb=174720
Enviar PR ↗
Mac Studio / MBP (M5 Max) (128 GB · 614 GB/s) · ≈ 53.5 tok/s Decode · ≈ 1,690 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=121600 iogpu.wired_lwm_mb=116480
Enviar PR ↗
Mac mini / MBP (M5 Pro) (64 GB · 307 GB/s) · ≈ 27.8 tok/s Decode · ≈ 845 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=60800 iogpu.wired_lwm_mb=58240
Enviar PR ↗
Mac mini / MBP 14″ / iMac (M6) (32 GB · 170 GB/s) · ≈ 15.9 tok/s Decode · ≈ 524 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=28160 iogpu.wired_lwm_mb=26560
Enviar PR ↗
Mac mini / MacBook Air (M4) (24 GB · 120 GB/s) · ≈ 11.3 tok/s Decode · ≈ 220 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=21120 iogpu.wired_lwm_mb=19920
Enviar PR ↗
llm Hy4-Flash (224B MoE + Engram) AA 24 · Int. v5 Hugging Face Hy4 · 1 configuración · mín. 192 GB 1.67× vs 12-02
Detalles →
RECoQ4h-MTP (4-bit)
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 192 GB
2,554.0
@32K
77.2
tok/s
▲ 39.7%
Limitado por kernel
149.8 GB
1.67×
HF
Historial de optimización — Peak Decode Throughput (224B MoE + Engram)
46.2 tok/s2026-12-02Baseline oQ4h77.2 tok/s2026-12-05+CED + Q4A8 + MTP5
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
omlx-recipe:1:eNqNU-1uwjAMfJf-RhOFghgvY5nGoVnTJOQDNk179zkIGKUt419lX653Z_u7wA04T1JpDZ0yEG1LJhTbcrGZFVhHdcSorAHpyjWQwZ0mUWwl6kCzQhC5QNTCsSq5uffYQQgCrJTa4h1OagzN4Lm0viYI2DmtzP5Wbr6qZ2SdJaBPRz5eWwPiEYinoASZCNJnV9YU2_nbYsXY6AAFOnZK0OEnCHKxKbaX1o06-sTMhxOZ5QrQ0C212iUQ9mR6zPNJ6KPWCdg9WblcTeL24tUfhwY9nYOwiXP_x1FsPKHgRdiMQkRCnQtPWF4wKlNgRTm8Zyi2-OQ3jwGsJlF5uBq_yLOratzWPWRdjUICHRIZ3lvNO5oXZTGfILsE_ieunJhORKXBoRB8Bb0jvMCrs3xBtRUEJ15jfmk_epFV4DSNnktwVE-NJFLHR4IxecrRvXOlUabNMnZJ7CkOX1gH7VlY_nIXT0yws4eEfF7tEXYq5r0ZNgZkvW6oG-pYx1256GFCqxxPJ8TrNhx1B70bPfP-_ALbXMYZ
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
oQ4h-MTP (4-bit) (oMLX 0.8.3)
▲ 39.7% · Limitado por kernel
77.2 tok/s × 10.55 GB/tok ÷ (1228 GB/s × 1.67× MTP) = 487.7 / 1228 GB/s · 7.91 GB dense/attn + 2.61 GB routed (16/512 of 83.5 GB) + 39.7 GB Engram lookup
Cuello de botella del kernel: el gather disperso de 16 de 512 expertos y las búsquedas aleatorias Engram en 4 capas limitan el ancho de banda efectivo a 487.7 GB/s (39.7 %). Próximo objetivo: agrupación ordenada de expertos + proyección Engram fusionada.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y repro
2026-12-02
Baseline
oMLX 0.8.3 · oQ4h-mtp (132 GB)
Default hybrid MoE load without MTP 46.2 tok/s TG
1,498 PP@4K
148.2 GB Wired · Pure RAM
3/3 Deterministic Pass ✅
2026-12-05
Optimal ★
oMLX 0.8.3 · oQ4h-mtp
Pure RAM (no Engram SSD needed at 149.8 GB) + Adaptive MTP depth=5 + Lossless BF16 KV 77.2 tok/s Peak TG (66.3 @ 128K)
2,558 PP@16K (+67%) · 2,484 PP@128K
149.8 GB Wired · Pure RAM
3/3 Math/Code/Logic Pass ✅
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 77.2 tok/s Decode · ≈ 2,554 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 52.5 tok/s Decode · ≈ 843 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
Mac Studio / Mac Pro (M2 Ultra) (192 GB · 800 GB/s) · ≈ 49.4 tok/s Decode · ≈ 613 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=182400 iogpu.wired_lwm_mb=174720
Enviar PR ↗
llm Qwen3.8-27B AA 20 · Int. v5 Hugging Face Qwen · 1 configuración · mín. 24 GB 1.57× vs 12-01
Detalles →
RECMLX 4-bit (gs=64)
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 24 GB
2,417.0
@32K
52.1
tok/s
● 61.2%
Cerca del pico
43.8 GB
1.68×
HF
Historial de optimización — 32K Prefill Throughput (27B Dense 4-bit)
1538.0 tok/s2026-12-01Dual-ANE Hybrid2417.0 tok/s2026-12-05M5 Q4A8 Pure GPU
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
omlx-recipe:1:eNqNU9lygzAM_BeeO50khUyan9EoWAYXYzs-ckyn_16R5oACmbwx1u6iXUnfGW7AeZJKayCDO00i20af6K1faZWBaBsyIduucy6VUR0wKmtAuuX6wZSoA1MFkQtEDRzyJRcrjy2EIMBKqS32cFJjqEd0aX1JELB1Wpnq_lyf82dirSWgkyMfb6WR8ATEU1CCTATpO1fWZNvF-6pgbHQj_v5I5qMANHSPpnQJhD2aAX8xC31RsS-2_ChmcZV49cehRk8XuzZxurchz6Bj7QkFT3szCREJdffwROUFozIF7qgL7xmKLT75zf8AillUiyfQeCbPrvJpW31It-YTkED7RIa3U_MmxjrbrhYzYtfAH80tZ6YTUWlwKATv-uDSrvD80r6g0gqCIy8rM-3XILIcnKbJowiOyrmRRGr5FDAmT9fuYq1M07WxS6KiOGZYB03n-e_TdYl_cuQssbP7hHxGzQF2KnabcxEcFEZyg2ooa2q5k95zNsCERjmeT4i3fTjoFsZn-vMLYxPGHg
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
MLX 4-bit (gs=64) (oMLX 0.8.3)
● 61.2% · Cerca del pico
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)
Sostiene 751.3 GB/s (61.2 %, cerca del roofline) en GEMV denso M=1 puro sobre 64 capas; supera el 85 % del roofline DRAM con batch=4 (156.5 tok/s) o con un drafter especulativo.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y 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)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 35.4 tok/s Decode · ≈ 798 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
Mac Studio / Mac Pro (M2 Ultra) (192 GB · 800 GB/s) · ≈ 33.3 tok/s Decode · ≈ 580 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=182400 iogpu.wired_lwm_mb=174720
Enviar PR ↗
Mac Studio / MBP (M5 Max) (128 GB · 614 GB/s) · ≈ 27.1 tok/s Decode · ≈ 1,208 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=121600 iogpu.wired_lwm_mb=116480
Enviar PR ↗
Mac mini / MBP (M5 Pro) (64 GB · 307 GB/s) · ≈ 14.1 tok/s Decode · ≈ 604 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=60800 iogpu.wired_lwm_mb=58240
Enviar PR ↗
Mac mini / MBP 14″ / iMac (M6) (32 GB · 170 GB/s) · ≈ 8.1 tok/s Decode · ≈ 375 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=28160 iogpu.wired_lwm_mb=26560
Enviar PR ↗
Mac mini / MacBook Air (M4) (24 GB · 120 GB/s) · ≈ 5.7 tok/s Decode · ≈ 157 tok/s Prefill (@32K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=21120 iogpu.wired_lwm_mb=19920
Enviar PR ↗
llm GLM-5.3 (753B MoE) AA 32 · Int. v5 Hugging Face GLM · 2 configuraciones · mín. 256 GB 28.80× vs 12-02
Detalles →
RECGGUF UD-IQ2_M (222.2 GiB + built-in NextN)
llama.cpp b12991 (Metal 4 fa_tensor + NextN MTP) · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 256 GB
189.9
@16K
43.2
tok/s
▲ 36.5%
Limitado por kernel
252.8 GB
28.8×
HF
MLX 4-bit (418.3 GB)
oMLX 0.8.3 · @hiddendevj
M5 Ultra · 256GPomavia Lab
moe-offload
≥ 256 GB
89.0
@16K
2.3
tok/s
● 97.5%
Límite NVMe
232.8 GB
1.53×
HF
Historial de optimización — 753B MoE Peak Decode Throughput on 256 GB M5 Ultra
1.5 tok/s2026-12-02OS Swap Thrash2.3 tok/s2026-12-05Managed 4-bit Offload27.7 tok/s2026-12-06Pure-RAM UD-IQ2_M (222 GiB)43.2 tok/s2026-12-06+Built-in NextN MTP (n=4)
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
GGUF UD-IQ2_M (222.2 GiB + built-in NextN) — unsloth/GLM-5.3-GGUF ↗
llama-server -m GLM-5.3-UD-IQ2_M-00001-of-00006.gguf --host 127.0.0.1 --port 18080 -ngl 999 -fa on -lm mmap -b 8192 -ub 8192 -ctk f16 -ctv f16 -c 32768 --jinja --spec-type draft-mtp --spec-draft-n-max 4
MLX 4-bit (418.3 GB) — mlx-community/GLM-5.3-4bit ↗
omlx-recipe:1:eNqNk9tuwjAMht-l12iirDDGy1imcdqsaRJy4KBp7z4XcWihRdzGn__Yv-3fDNfgPEmlNbTKQLQNmZBt8sV6lmEZ1R6jsgaky1dABreaRLaRqAPNMkHkAlED-yLnYOWxhRAEWCm1xR4nNYb6KV1aXxIEbJ1Wpro916filVhrCejoyMdr6C4cfRonPAUlyESQvmvKmmwz_yi-mI3uqa7dgcznEtDQzZrSJRD2YAb580n0TcW-WP65nOQq8e7HoUZP53ZtYnOvjkzQsfaEgqe9HkVEQt09vFB5o1GZAlfUmfeK4hZffPNowHKSavEIGk_kuativK0-sipGkUC7RIaXU_MixjrbLOYTYhfD78XlE9OJqDQ4FIJXfXBpF7w4ly-otILgwMvKmfZnYFkBTtPoTQRH5dRIIrV8ChiTp0t1sVam6crYJlFRfM6wDlxn8zf7zHlbu0vIt9PsYatiZ-xZZRB4OMFhMJQ1tfx77zkbMKFRjmcS4jV_r1t4Ps2_f2A5uRY
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
MLX 4-bit (418.3 GB) (oMLX 0.8.3)
● 97.5% · Límite NVMe
NVMe Streaming: 8.68 GB/s / 8.90 GB/s ceiling (DRAM η_BW 4.4%) · 40B active @ MLX 4-bit (418.3 GB total, 53% streamed from NVMe)
Satura la lectura secuencial NVMe de 8.68 GB/s (97.5 % del techo físico del SSD); usa UD-IQ2_M en RAM pura (43.2 tok/s) para evitar el muro del SSD.
GGUF UD-IQ2_M (222.2 GiB + built-in NextN) (llama.cpp b12991 (Metal 4 fa_tensor + NextN MTP))
▲ 36.5% · Limitado por kernel
43.2 tok/s × 16.20 GB/tok ÷ (1228 GB/s × 1.56× MTP) = 448.6 / 1228 GB/s · 9.66 GB MLA/DSA/shared + 6.54 GB routed (8/256 @ UD-IQ2_M) + NextN n=4
Cuello de botella del kernel: la descuantización LUT del codebook IQ2_M limita el desempaquetado en la ALU de Metal a ~449 GB/s (36.5 %). Próximo objetivo: port MLX afín oQ2.5e / desempaquetado LUT SIMD → 75+ tok/s.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y repro
2026-12-02
Baseline
oMLX 0.8.3 · 4-bit (418.3 GB)
Default MoE offload resident_fraction=0.25, BF16 KV 1.5 tok/s TG (1.3 @ 16K)
22.4 PP@1K · 89.0 PP@16K
234.1 GB Peak · 6.31/8.54 GB/s NVMe
3/3 Pass (NVMe bound) ✅
2026-12-05
4-bit Offload
oMLX 0.8.3 · 4-bit (418.3 GB)
Tuned resident_fraction=0.47 (0.48 hits HTTP 507 guard) + TQ4 KV + os.preadv 20MiB blocks 2.3 tok/s TG (+53% vs 0.25)
84.2 PP@4K · 89.0 PP@16K
232.8 GB Wired · 8.68 GB/s NVMe (>95% ceiling)
3/3 Math(56.6s)/Code(114.1s)/Logic ✅
2026-12-06
KV Ablation
llama.cpp b12991 · UD-IQ2_M (222.2 GiB)
Pure-RAM Metal 4 fa_tensor: -ctk f16 (-ub 8192) vs q8_0 (-ub 4096) vs q4_0 @ 32K 27.74 tok/s TG (24.25 @ 16K · 22.91 @ 32K)
387.2 PP@1K · 226.0 PP@4K · 189.9 PP@16K
248.2 GB (231.2 GiB) Wired · 0.15 MB/s NVMe
MLA f16 KV beats q8_0 (+19.6% PP, +10.5% TG) & q4_0 (+15.0% @ 32K) ✅
2026-12-06
Optimal ★
llama.cpp b12991 · UD-IQ2_M + NextN MTP
-b 8192 -ub 8192 -ctk f16 -ctv f16 -lm mmap --spec-type draft-mtp --spec-draft-n-max 4 (swept n=1/2/3/4 + ngram-mod) 43.21 tok/s TG (18.8x vs 4-bit offload; 33.7 sustained)
387.2 PP@1K · 226.0 PP@4K · 80–83% MTP acc
252.8 GB (235.4 GiB) Wired · 0.13 MB/s NVMe (0 Swap)
6/6 Pass: Math 34196 (3.07s vs 56.6s), fib (5.21s vs 114.1s), Logic/LRU/RBTree ✅
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 43.2 tok/s Decode · ≈ 190 tok/s Prefill (@16K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 29.4 tok/s Decode · ≈ 63 tok/s Prefill (@16K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗
llm Muse-Spark-Open-816B-A42B AA 25 · Int. v5 Hugging Face Muse · 1 configuración · mín. 256 GB 1.33× vs 12-01
Detalles →
RECGGUF UD-IQ2_XXS (2.06 bpw)
llama.cpp b12991 (Metal 4 fa_tensor) · @hiddendevj
M5 Ultra · 256GPomavia Lab
pure-ram
≥ 256 GB
662.5
@16K
30.5
tok/s
▲ 36.8%
Limitado por kernel
226.0 GB
1.33×
HF
Historial de optimización — Zero-Swap 816B MoE Decode (llama.cpp Metal 4)
22.9 tok/s2026-12-01Default llama.cpp30.5 tok/s2026-12-05Metal 4 fa_tensor + b8192
Mac Apple Silicon compatibles
Pesos y recetas de lanzamiento verificadas
GGUF UD-IQ2_XXS (2.06 bpw) — unsloth/Muse-Spark-Open-816B-A42B-GGUF ↗
llama-server -m Muse-Spark-Open-816B-A42B-UD-IQ2_XXS-00001-of-00006.gguf --host 127.0.0.1 --port 18080 -ngl 999 -fa on -lm mmap -b 8192 -ub 8192 -ctk f16 -ctv f16 -c 32768 --jinja
⚡ Roofline de hardware · eficiencia de ancho de banda
η_BW = (Decode tok/s × GB activos/token) / (ancho de banda máx. del chip GB/s × multiplicador MTP) · ≥75 % (NVMe ≥95 %) = límite del silicio | <60 % = cuello de botella de kernel
GGUF UD-IQ2_XXS (2.06 bpw) (llama.cpp b12991 (Metal 4 fa_tensor))
▲ 36.8% · Limitado por kernel
30.5 tok/s × 14.80 GB/tok ÷ (1228 GB/s × 1.00× MTP) = 451.8 / 1228 GB/s · 42B active @ UD-IQ2_XXS (mixed Q4/IQ2 attention/shared + 2.06 bpw experts)
Cuello de botella del kernel: el desempaquetado LUT del codebook en rejilla IQ2_XXS limita Metal mul_mat_id a ~452 GB/s (36.8 %) y no hay cabeza MTP. Próximo objetivo: desempaquetado en rejilla SIMD de Metal 4 + cabeza de draft externa.
📋 Registros de optimización fechados y verificables por Mac
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)
Registro verificado de Pomavia Lab
Fecha y etapaMotor y cuant.Parámetros de optimización / ablaciónVelocidad medidaRAM wired y E/S NVMeVerificación y repro
2026-12-01
Baseline
llama.cpp b12991 · UD-IQ2_XXS (210 GiB)
Default -b 2048 -ub 512 -ctk f16 -lm mmap 30.53 tok/s TG
536.7 PP@4K (small ubatch starves 80c GPU)
225.4 GB Wired · 1.0 MB/s NVMe
Zero-swap verified ✅
2026-12-03
Ablation
llama.cpp b12991 · UD-IQ2_XXS
Tested -lm none / -lm dio & -ctk q8_0 at -b 8192 -ub 8192 29.54 tok/s TG
682.6 PP@4K (q8_0 slower than native fa_tensor f16!)
dio re-reads 8.1 GB/s NVMe unnecessarily
Confirmed -lm mmap mandatory ✅
2026-12-05
Optimal ★
llama.cpp b12991 Metal 4 fa_tensor
100% Pure RAM -b 8192 -ub 8192 -ctk f16 -ctv f16 -lm mmap (-ctk q4_0 for 80K) 30.5 tok/s TG (24.1 tok/s @ 80K!)
711.9 PP@4K (+32.6%) · 662.5 PP@16K · 392.5 PP@80K
226.0 GB Wired · 0.5 MB/s NVMe (Zero Swap)
6/6 Hard Puzzles (12-ball & LRU) Pass ✅
Mac Studio (M5 Ultra · 512 GB) (512 GB · 1228 GB/s) · ≈ 30.5 tok/s Decode · ≈ 662 tok/s Prefill (@16K)
Estimado por roofline · pendiente de PR
Este Mac tiene la ruta matricial Neural GPU nativa de M5/M6: mantén activa la receta M5 QxA8 (min_tokens=64).
sudo sysctl iogpu.wired_limit_mb=486400 iogpu.wired_lwm_mb=465920
Enviar PR ↗
Mac Studio (M3 Ultra) (256 GB · 819 GB/s) · ≈ 20.8 tok/s Decode · ≈ 219 tok/s Prefill (@16K)
Estimado por roofline · pendiente de PR
Nota: los chips M2/M3/M4 no tienen la unidad QxA8 nativa de M5; usa a8_prefill_enabled=false (GPU A16 nativa o prefill Dual-ANE calibrado).
sudo sysctl iogpu.wired_limit_mb=243200 iogpu.wired_lwm_mb=232960
Enviar PR ↗