Last updated
Attaching an external NVIDIA GPU to oMLX: moving Mac prefill to another machine
A PC beside the Mac shares the prefill one Mac cannot carry; the conditions are driver and card generation.
The Prefill1 Accelerator in oMLX 0.8.0rc1 lets an NVIDIA PC or DGX Spark beside the Mac run the first layers of each prompt2 while the Mac keeps the rest, the decode3 and the KV cache4. Qwen3.8 27B at a 64K prompt rises from 352 to 1,879 tok/s with two RTX A6000s.
How the work splits
The helper runs the first layers of each prompt chunk while the Mac handles the rest, the decode and the KV cache, so a large model stays in Mac memory with only the opening computation moved.
With Auto on, it measures both machines and the link to pick the layer count, and keeps the prompt on the Mac when a split would be slower.
- DGX Spark 128GB local LLM baseline
- Context length, RoPE and sliding-window attention
- Prefill vs decode: should you look at TTFT or tok/s?
- Basalt 0.6: driving several cards with gpu-mode
- Xiaomi-OCR-0: pulling tables and fields from documents with 0.8B
- Strata 0.2.14 prompt kernels: reading prompts with its own code on NVIDIA and AMD

Requirements and setup order
The helper needs driver 580 or newer and an Ampere-or-newer GPU5, or a GB10. The release notes say Windows is not yet tested.
On the Mac, turn on distributed inference6 under Settings > Advanced, pair the helper on the Cluster tab and select it under Prefill Accelerator in the model's settings.
docker run -d --name omlx-helper --restart unless-stopped \
--gpus all --network host -v omlx-helper:/data \
jundot/omlx-cuda-helperThe gain depends on the model
Qwen3.8 27B gains 434% with two RTX A6000s while DeepSeek V4.1 Flash gains 76% on the same pair, so the best pairing differs by model.
For DeepSeek V4.1 Flash the DGX Spark is faster than two A6000s, so read the row for the model you run.
Scroll sideways to compare all columns.
| Model | Mac alone | + DGX Spark | + 2× A6000 |
|---|---|---|---|
| Qwen3.8 27B | 352 | 1,062 | 1,879 |
| Qwen3.8 Flash-Next | 1,370 | 2,715 | 3,928 |
| DeepSeek V4.1 Flash | 1,085 | 2,412 | 1,914 |
| GLM-5.3 Flash | 555 | 1,076 | 978 |

The link decides the result
Those figures were measured over 2.5GbE. A slower link shrinks the gain, and Auto avoids splitting in that case.
Decode speed barely changes: short chats feel little, while frequent long documents show the gap.
What changed in 0.8.4
0.8.4 sped up Inkling 2 Mini sharply: on an M5 Ultra 4K prefill rose from 3,733 to 5,620 tok/s and 128K prefill from 1,895 to 4,239.
Decode at 128K doubled from 56.2 to 112.1 tok/s, and two concurrent requests rise from 84.4 to 220.3 tok/s in total, with the gain largest under concurrency.
The Prefill Accelerator for an external NVIDIA card arrived in 0.8.0rc1, so 0.8.4 keeps the same settings described below.

Terminology notes
Prefill — The stage where an LLM reads the input prompt and computes representations for its tokens. Longer prompts contain more tokens to process.
Back to the textPrompt — The input text sent to a model. For generative models it describes the desired result and strongly shapes the output.
Back to the textToken decoding — The stage that generates successive output tokens using the input and the response produced so far.
Back to the textKV cache — Memory that stores attention keys and values from earlier tokens for reuse during later token generation. Its size depends on context length and batch size.
Back to the textGPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.
Back to the textInference — The process of using a trained model to compute an output for an input. Here, local inference means running the model on the user’s device.
Back to the text
Frequently asked questions
- What should you check first in this article?
- The Prefill Accelerator in oMLX 0.8.0rc1 lets an NVIDIA PC or DGX Spark beside the Mac run the first layers of each prompt while the Mac keeps the rest, the decode and the KV cache. Qwen3.8 27B at a 64K prompt rises from 352 to 1,879 tok/s with two RTX A6000s.
Read next
Executable programs and extensions
Run local AI on a Mac with oMLX: prefill acceleration in 0.8.0rc1
Executable programs and extensions
Strata Multi-GPU Layer Splitting: Setup and Results
Executable programs and extensions
What actually improves when you connect two DGX Sparks?
Executable programs and extensions
Which local LLM app or serving engine should you start with?
