a builder's codex
codex · operators · Angelos Katharopoulos · ins_mlx-jaccl-cluster-inference

Linking Apple Silicon Macs over Thunderbolt 5 with JACCL achieves 3x LLM inference speed and enables trillion-parameter local inference

By Angelos Katharopoulos with Awni Hannun · Apple ML researcher; core MLX maintainer and creator of JACCL · 2026-06-09 · talk · Explore distributed inference and training with MLX

Tier B · TL;DR
Linking Apple Silicon Macs over Thunderbolt 5 with JACCL achieves 3x LLM inference speed and enables trillion-parameter local inference

Claim

Connecting four M3 Ultra Macs via Thunderbolt 5 with MLX and the new JACCL collective communication library achieves approximately 3x the inference throughput of a single machine for 27-billion-parameter models, and makes trillion-parameter model inference possible without cloud infrastructure.

Mechanism

RDMA over Thunderbolt 5 lets Apple Silicon GPUs communicate across machines with near-local-memory latency. JACCL (Joint Apple Collective Communication Library) provides the collective operations (allreduce, allgather, broadcast) that distributed tensor-parallel inference requires. MLX coordinates how each machine processes a shard of the model so the full forward pass is completed in parallel. Memory capacity scales with the number of machines, not with a single chip's limit. A four-Mac cluster can hold a model in its combined unified memory that no single Mac could fit, and the RDMA path means the inter-node communication overhead is low enough that wall-clock throughput gains are real, not theoretical.

The same JACCL primitives apply to distributed training: the WWDC session reported 3x training throughput on fine-tuning workloads across a four-machine cluster.

Conditions

Holds when: Macs are connected via Thunderbolt 5 (the bandwidth requirement is tight); all machines share the same MLX and macOS version; the model has been sharded correctly for tensor-parallel execution.

Fails when: fewer than two Macs are available, the interconnect is USB-C or an earlier Thunderbolt generation (insufficient bandwidth), or the model architecture does not support efficient tensor parallelism.

Evidence

Demonstrated live at WWDC 2026 (Apple Developer session 233, June 9). Benchmark figures from the session:

JACCL was built by Angelos Katharopoulos; Awni Hannun (co-creator of MLX) leads the broader framework.

Signals

Counter-evidence

The WWDC benchmarks are first-party Apple figures from controlled conditions. Independent reproduction may show smaller gains depending on workload. Thunderbolt 5 bandwidth (120 GB/s) is high but not infinite: extremely communication-intensive architectures may not see 3x linear scaling. The setup also assumes all Macs are M3 Ultra or later; older Apple Silicon chips have lower memory bandwidth and the gains may not hold. The trillion-parameter inference demo used 4 M3 Ultras, which is a roughly $25,000+ hardware investment.

Cross-references

Open the interactive view → View original source → Markdown source →