The 80B Qwen3-Coder-Next on a 16 GB Mac, about 13 tok/s, fully offline. A mixture-of-experts inference engine for Apple silicon.
Rust
Coachwhip 0.5.2
Mac mini M4, 16 GB, measured; your Mac and your prompt will move the numbers.
Faster on every Qwen3-Next and Qwen3.5/3.6 MoE model
- The attention block of a linear-attention layer is now one kernel per word. Three layers in four of these models use gated delta-net attention, and it was built from about forty small GPU operations per layer: the convolution taps, the activation, two norms, the widening, the delta rule over the memory, the output norm and the gate. They are now one Metal kernel per word; the two projections stay as their own matmul kernels. The arithmetic is the same: on the exact path the answers are byte-identical to 0.5.0.
- Measured by the tester on the release artifact, unpacked cold, fast mode, raw 300 tokens, three runs for the 35B: Qwen3.6-35B-A3B squeezed (bank 68) 13.0 → 15.2 tok/s (19.9, 19.7, 19.6 s); Qwen3-Coder-Next squeezed (bank 109) 11.8 → 13.8 tok/s. A warm route table (the engine learns which experts each layer wants, and the download starts cold) gave the builder 16.4 on the 35B; the tester's cold number is the one published. A 13,700-token read on the 35B: read at 64.9 tok/s, wrote at 15.7, 6.6 GB peak.
COACHWHIP_ATTN_KERNEL=0restores the old operation-by-operation path.
Where the time went, for the curious
On a 16 GB Mac the SSD stopped being the clock once experts were squeezed and stood in: a 35B word cost about 60 ms, only 10 of them in the expert layers. The rest was the attention side, and the delta step alone was 13 ms of it. The kernel takes most of that back.
Tested, and what it found
- Plain path, kernel on against off, same prompt, same model: the text is byte-identical on the 35B and on the coder. That was the release's one real risk and it held.
- gpt-oss-120b loads and answers on this build (a different attention; its numbers are 0.5.0's).
- The cache trap on the 35B compiles and runs; the two requirements it misses (an existing key not moved to most-recent on set; an O(n) eviction scan) are the model's habit, identical with the kernel off.
Not tested
- Thinking mode (
--think) on the 35B through the new kernel; the 122B; prompts past 16K tokens.
Known
--helpstill lists the supported families without gpt-oss; the text is stale, the support is there.