Skip to content

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

0.5.2 docs: the tester's numbers, installer pinned to v0.5.2

1picassoaia27cfa130451
diff --git a/README.md b/README.md
index 0d24691..e885a82 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
# Coachwhip
-## **Qwen3.6-35B on a 16 GB Mac. {TPS35} tok/s. Fully offline.**
+## **Qwen3.6-35B on a 16 GB Mac. 15 tok/s. Fully offline.**
**Install: under a minute. Model: 14.2 GB, about five minutes on a fast line. Then it runs.**
diff --git a/docs/releases/0.5.2.md b/docs/releases/0.5.2.md
index 186164a..8cef3be 100644
--- a/docs/releases/0.5.2.md
+++ b/docs/releases/0.5.2.md
@@ -5,15 +5,24 @@ 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, fast mode, raw 300 tokens:** Qwen3.6-35B-A3B squeezed (bank 68) 14.0 → 16.4 tok/s; Qwen3-Coder-Next squeezed (bank 109) 11.9 → 14.3 tok/s. In the crew demo (four agents, a cache with eight executed checks) every seat on the 35B wrote at 16.4 to 17.0 tok/s.
+- **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=0` restores 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
- Macs other than an M4 with 16 GB.
-- gpt-oss-120b is unaffected (a different attention); its numbers are 0.5.0's.
-- Prompts past 16K tokens.
+- Thinking mode (`--think`) on the 35B through the new kernel; the 122B; prompts past 16K tokens.
+
+## Known
+
+- `--help` still lists the supported families without gpt-oss; the text is stale, the support is there.
diff --git a/install.sh b/install.sh
index af99f30..7773b92 100755
--- a/install.sh
+++ b/install.sh
@@ -13,7 +13,7 @@ set -euo pipefail
main() {
DIR="${COACHWHIP_DIR:-$HOME/coachwhip}"
REPO="${COACHWHIP_REPO:-https://github.com/1picassoai/coachwhip}"
-VERSION="${COACHWHIP_VERSION:-v0.5.0}"
+VERSION="${COACHWHIP_VERSION:-v0.5.2}"
ASSET="coachwhip-$VERSION-macos-arm64.tar.gz"
DIST="${COACHWHIP_DIST:-$REPO/releases/download/$VERSION}"