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.1 docs: the ready-squeezed 80B coder on the front page, release notes with the measured numbers (HF link to fill)
1picassoai698396eb1cb7
diff --git a/README.md b/README.mdindex 696005d..d1a3dc1 100644--- a/README.md+++ b/README.md@@ -7,15 +7,25 @@# Coachwhip-**OpenAI's gpt-oss-120b on a 16 GB Mac, at about 10 tok/s. Fully offline. Nothing leaves your machine.**+**The 80-billion-parameter Qwen3-Coder-Next on a 16 GB Mac, at about 13 tok/s. Fully offline. Nothing leaves your machine.**```shcurl -fsSL https://raw.githubusercontent.com/1picassoai/coachwhip/main/install.sh | bash```-**You need:** a Mac with Apple silicon and 16 GB, macOS 26, and about 106 GB of free disk while the model is squeezed once (43 GB after). Not a Mac, or less than 16 GB: it will not run, and we would rather say so here than after the click.+**You need:** a Mac with Apple silicon and 16 GB, macOS 26, and 30 GB of free disk. Not a Mac, or less than 16 GB: it will not run, and we would rather say so here than after the click.-**Then, for gpt-oss-120b, four steps and you are talking to it:**+**Then, two steps and you are talking to the coder:**++1. Download the ready-squeezed file, [`Qwen3-Coder-Next.Q2X.gguf`](HF_LINK) (29 GB, sha256 `cdc0584c1e4d30134cbb83f18e4c7607af90bd1145a64940c7a357b02a0216af`), and the model's [tokenizer.json](https://huggingface.co/Qwen/Qwen3-Coder-Next). Nothing to squeeze; it was squeezed once on our Mac with the same `coachwhip-prepare` you get in the install.+2. Start it. The chat opens in your browser:+ ```sh+ ~/coachwhip/coachwhip.sh ~/Downloads/Qwen3-Coder-Next.Q2X.gguf ~/Downloads/tokenizer.json 109 8090 --parallel --flash-reads --stand-ins+ ```++That is fast mode, about 13 tok/s on a real answer; drop `--stand-ins` for every expert read at about 5. Measured on a Mac mini M4 with 16 GB; the numbers and the quality check are in the [release notes](docs/releases/0.5.1.md).++**Also on a 16 GB Mac: OpenAI's gpt-oss-120b at about 10 tok/s.** It thinks before it answers. Four steps, because its official file is squeezed on your own Mac (106 GB free while it runs, 43 GB after):1. Download the official [MXFP4 file](https://huggingface.co/ggml-org/gpt-oss-120b-GGUF) (63.4 GB) and the model's [tokenizer.json](https://huggingface.co/openai/gpt-oss-120b).2. Squeeze it once, about 13 minutes:diff --git a/docs/releases/0.5.1.md b/docs/releases/0.5.1.mdnew file mode 100644index 0000000..61ecdce--- /dev/null+++ b/docs/releases/0.5.1.md@@ -0,0 +1,31 @@+# Coachwhip 0.5.1++Mac mini M4, 16 GB, measured; your Mac and your prompt will move the numbers. The engine binary is unchanged from 0.5.0; this release is a model file, a setting, and the words.++## The 80B coder, ready-squeezed++- **Qwen3-Coder-Next, 80 billion parameters, 3 billion active, on a 16 GB Mac at about 13 tok/s.** The machine cannot hold the 38 GB file; Coachwhip streams the experts it needs and keeps the rest asleep.+- **Download the squeezed file instead of squeezing it yourself.** `Qwen3-Coder-Next.Q2X.gguf`, 29,335,336,000 bytes, sha256 `cdc0584c1e4d30134cbb83f18e4c7607af90bd1145a64940c7a357b02a0216af`, made by the shipped `coachwhip-prepare` from MaziyarPanahi's Q3_K_M (gate and up experts to Q2_K, down to Q3_K; everything else untouched). Link: (Hugging Face, under the author's account; filled in at publish). The installer checks the hash before it runs.+- **One line to start it**, bank 109, fast mode on: `~/coachwhip/coachwhip.sh ~/Downloads/Qwen3-Coder-Next.Q2X.gguf ~/Downloads/tokenizer.json 109 8090 --parallel --flash-reads --stand-ins`++## Measured, same prompt, same Mac++| setup | writing | quality on the retry-helper prompt |+|---|---|---|+| plain Q3_K_M file, bank 70 | 5.4 tok/s | 5 of 5 |+| squeezed file, stand-ins on, bank 109 | 13.5 tok/s | 4.5 of 5 |++Raw 300-word runs: 6.2 plain, 10.4 with stand-ins on the plain file, 11.9 squeezed with stand-ins. Bytes read from the SSD per 300 words: 31 GB, 6 GB, 5 GB. Fast mode changes the answers: the half point was two faults in the usage example, one an undefined function; the loop and the error handling were right. The split between the squeeze's share and the stand-ins' share: (filled in from the tester's runs).++## Changed words++- `--stand-ins` was listed as "not tested" on the Qwen models in 0.5.0. It is now measured on Qwen3-Coder-Next, above. Still not measured: the 122B and the 35B with stand-ins.++## Known++- Streaming calls to `/v1/chat/completions` with gpt-oss return the model's thinking inline as a `<think>` block in `content`; plain calls return the final answer only. gpt-oss only; the Qwen models are unaffected. Fix in the next engine release.++## Not tested++- The squeezed coder on Macs other than an M4 with 16 GB.+- Chats past 16K tokens.