MLX merges compiler fusion PR: horizontal+vertical fusion to speed up training
awnihannun · x · 2026-11-29
MLX merged a major JIT compiler improvement (PR #4953 by nastya236). The old implementation only greedily fused vertical producer→consumer chains, missing element-wise kernels reading the same inputs. The new approach starts with one group per op and gradually merges both vertically and horizontally, producing fewer kernels — critical for backward passes due to activation gradients and recomputation (à la torch.compile). The refactor also splits compile.cpp into separate files; the author disclosed using Muse and GLM 5.3 4bits for parts of the implementation.
More from Infra
- Goldman: US data-center power demand up nearly 30% YTD, over a third of total power growth — Beth_Kindig · 2026-11-29
- US Army to lease land at 9 bases, incl. Fort Bragg, for commercial AI data centers — Polymarket · 2026-11-29
- LangChain launches SmithDB, a purpose-built distributed database for agent observability — hwchase17 · 2026-11-29
- Dev's weekend CUDA TFQ3 + FP4 work pushes Qwen 3.8 decode to 249 tok/s — AIFlow_ML · 2026-11-29
- Qwen 3.8 hits 249 tok/s at 4-way concurrency after CUDA TFQ3 + FP4 pass — AIFlow_ML · 2026-11-29
- Radeon 8060S and AI Pro R9700S ship public agent workflows — throughput isn't quality — krishnan · 2026-11-29