oMLX Prefill Accelerator: a second Mac speeds long-prompt prefill up to ~3×
- Hardware
- Example pairing called out in the notes: M3 Ultra 512 GB as the main host with an M5 Max 128 GB or 64 GB as accelerator
- Models & engines
- Both Macs must run the same oMLX version for Prefill Accelerator
- Key gotcha
- This is a development release; the notes ask for GitHub Issues bug reports and point stable users at 0.7.3.
What they built
Large MoE checkpoints can fit on a high-memory Mac such as an M3 Ultra 512 GB, but long prompts still prefill slowly on that machine alone.
oMLX 0.7.4.dev1's Prefill Accelerator lets a second Mac with a faster GPU run the first layers of each prompt chunk over Thunderbolt or 5GbE while the big Mac runs the remaining layers, decodes, and keeps the KV cache—no RDMA required.
The same release also speeds single-Mac DeepSeek V4.1 and Qwen3.8 Flash-Next paths (bounded Metal buffer pools, fused kernels, INT8 activation prefill on M5) and adds `omlx launch` helpers for Codex and Copilot against local chat models.
Setup
- Both Macs must run the same oMLX version for Prefill Accelerator
- Example pairing called out in the notes: M3 Ultra 512 GB as the main host with an M5 Max 128 GB or 64 GB as accelerator
- Development release 0.7.4.dev1 (stable tip referenced as 0.7.3 if you need non-dev)
- Network path: Thunderbolt or 5GbE is stated as enough
How it works
- Turn on Enable Distributed Inference under Global Settings → Advanced on both Macs.
- Open the Cluster tab, pair the machines, and choose Prefill Accelerator.
- In the model settings, pick the faster Mac under Acceleration.
- Measure a long prompt (the notes use 64K) before and after pairing if you want your own tok/s numbers.
Results & numbers
- On a 64K prompt, DeepSeek V4.1 Flash prefill rose from 1,060 to 3,123 tok/s with an M5 Max 128 GB (+195%), or to 1,466 tok/s with an M5 Max 64 GB (+38%).
- Qwen3.8 Flash-Next went from 1,309 to 3,666 tok/s with the 128 GB accelerator (+180%) and to 2,859 tok/s with the 64 GB unit (+118%).
- Separate single-Mac work on M5 Ultra raised DeepSeek V4.1 Flash oQ2e-mtp 32K prefill from 2,631 to 3,779 tok/s (+44%).
Gotchas
- This is a development release; the notes ask for GitHub Issues bug reports and point stable users at 0.7.3.
- Prefill Accelerator needs matching oMLX versions on both Macs.
- Decode speed on the big Mac stays the same; the win described is prefill throughput for long prompts.
- Some INT8 activation prefill paths can change greedy ties versus prior builds.
Do it yourself
- Install the same oMLX build on two Apple Silicon Macs on the same Thunderbolt or 5GbE link.
- Enable distributed inference and pair them as Prefill Accelerator in the Cluster UI.
- Assign the faster Mac as the model's accelerator.
- Run a long prompt you already use and compare prefill tok/s to the single-Mac baseline.
Similar setups
Why llama.cpp prompt lookup stops helping local coding agents
Testing local coding-agent edits on a Mac Studio, a developer found llama.cpp's n-gram prompt lookup drafts collapse once file edits are wrapped in JSON tool calls, while models with built-in multi-token prediction still sped up 61-63%.
How much RAM a local LLM needs on a Mac: measurements on a 16 GB MacBook M5
Kirill Lukyanov measured three models in Ollama on a 16 GB MacBook M5 with short prompts and 10- and 45-page documents, then built a sizing table for what fits on Macs from 16 to 128 GB.
A local Qwen model took over a server-patching job when the cloud model refused
Seppe Gadeyne was patching seven servers and about 30 WordPress sites with an AI agent when the cloud model's safety filter stopped answering; he switched the same session to a Qwen model on his RTX 5090 workstation, which finished the job.
Fixing silent tool-call failures caused by Ollama's 4,096-token default context
orca forge found their app's 29 tools were silently failing because Ollama's OpenAI-compatible endpoint loaded the model at the default 4,096-token context and truncated input without an error; moving tool calls to /api/chat with num_ctx set fixed it.