Many people asked which multi-Mac mode to use in oMLX, so I made this image.
Two high-end Macs of the same class (e.g. 2x M5 Ultra)
-> Use TP (Tensor Parallel). Each Mac runs half of every layer, so prefill and decode both get faster. Data goes back and forth on every layer, so you need a very fast link like TB5 with RDMA.
Two smaller Macs that can't hold the model alone
-> Use PP (Pipeline Parallel). The layers are split by memory so the model fits across both. It's mainly for running a model that doesn't fit on one Mac, and decode doesn't get faster.
One big but slower Mac plus one small but fast Mac (e.g. M3 Ultra 512GB + M5 Max)
-> Use Prefill Accelerator. The big Mac holds the whole model and does the decoding. The fast Mac only helps with prefill, so a normal LAN cable (5GbE) is enough. You'll notice it when you send long prompts, like agent loops or a whole repo in context. Decode speed stays the same as the big Mac alone.
INT8 activation prefill, DeepSeek V4.1 CED and other Prefill Accelerator speedups don't work on TP or PP yet. Most users don't have two high-end Macs (me included), so those modes are moving slower, but I'll keep working on distributed inference.