Two Macs. One model.

Prefill · The GPUs split attention. The Neural Engines split feed-forward.

TP2 ACROSS BOTH MACS

Mac 1

32 GB · Weight shard 1

GPUAttention / DeltaNet shard 1
ANEFeed-forward · 8,192 channels
AddLocal + remote
TB4 RDMAToken IDs

Mac 2

24 GB · Weight shard 2

GPUAttention / DeltaNet shard 2
ANEFeed-forward · 9,216 channels
AddLocal + remote
Prompt chunks · 512 tokens each
Engine pairStartSame moment
Both GPUs Chunk AABC Chunk BDEF
Both ANEs Waiting for Chunk A Chunk AABC

One prompt reaches both Macs

Both Macs see the same token IDs. Each computes its shard of the model for those tokens.

Two-diagram overview · Decode animation. Motion is slowed for illustration. Architecture and benchmarks on GitHub, X, and Hugging Face.

How the server feeds the two workers
  1. The server reuses a matching prompt prefix when available. The tokens that still need prefill go to the worker bridge.
  2. The bridge chooses a prefill block size for the remaining tokens. A full 4,096-token feed runs as eight 512-token chunks. Shorter inputs can use smaller feeds or the verify-and-commit path for a short final tail.
  3. On the token-ID path, the server puts IDs in shared memory and sends the worker a control message over the local socket. Each worker looks up embeddings locally. The Thunderbolt connection carries the partial results between Macs.
  4. The workers update the attention cache and DeltaNet state in place as they process each feed. The final feed requests output logits, and decode continues with the same worker state.
Prefill architecture and benchmarks