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
Qwen3.6-35B-A3B measured: 6.2 tok/s at bank 44, 8/8 quality; bank 44 recommended, with why
1picassoai2b931c656923
diff --git a/README.md b/README.mdindex 57a23ee..7daece4 100644--- a/README.md+++ b/README.md@@ -161,7 +161,7 @@ cd ~/coachwhip| `--chat 8090` | Serve the chat page on that port, on this machine only || `--max-tokens 4000` | Longest answer || `--temperature 0` | Always pick the likeliest word (same answer every time) |-| `--bank 44` | Expert slots kept on the GPU per layer (56 for the 80B, 70 for its Q3_K_M file) |+| `--bank 44` | Expert slots kept on the GPU per layer (56 for the 80B, 70 for its Q3_K_M file, 44 for Qwen3.6-35B) || `--prefetch 10` | Experts guessed and read in ahead, per layer; 0 turns the guess off || `--ahead 4` | How many layers ahead the guess looks || `--think` | Let a thinking model reason before it answers (`--prompt` runs) |diff --git a/docs/MODELS.md b/docs/MODELS.mdindex 5374226..3f46801 100644--- a/docs/MODELS.md+++ b/docs/MODELS.md@@ -23,6 +23,21 @@ What each model file does on a 16 GB Mac, measured the same way every time. Thes- **Quality:** both files failed one task, a different one each. Q4_K_M's word wrap counted a space before the first word of each line; Q3_K_M's duration parser accepted a repeated unit (`1h1h`). Eight tasks is a small sample: treat it as "no difference found", not "no difference".- Both use the same [tokenizer.json](https://huggingface.co/Qwen/Qwen3-Coder-Next).+## Qwen3.6-35B-A3B++Qwen's newest MoE generation (architecture `qwen35moe`): 40 layers, 256 experts of which 8 are used per word, plus a shared expert. It has a thinking mode; these runs have it off, the default.++| GGUF file | Size | `--bank` on 16 GB | Bank memory | Writing, 0.3.0 | Quality |+|---|---|---|---|---|---|+| [unsloth UD-Q4_K_M](https://huggingface.co/unsloth/Qwen3.6-35B-A3B-GGUF), recommended | 22.1 GB | 44 | 3.3 GB | **6.2 tok/s**, one run (prompts from 5.8 to 6.5) | 8 / 8 |+| the same file | 22.1 GB | 56 | 4.3 GB | 6.0 tok/s, one run (prompts from 5.8 to 6.5) | 8 / 8 |++Measured 6 Oct 2026, background load about 1.8. The first word came after 2.5 to 3.9 seconds on each prompt.++- **Why bank 44, not 56:** the two banks write at the same speed (a 2,500-token thinking answer ran at 6.1 tok/s on both), but this model's non-expert part is heavier than the 80B's, and at bank 56 Coachwhip held about 7 GB against 5 GB at 44. On a 16 GB Mac, 56 ran the GPU out of memory once, on a long thinking answer that followed an earlier answer in the same chat. 44 leaves that room.+- **Quality:** all eight tasks passed, including the duration parser that both 80B files got wrong. Eight tasks is a small sample.+- Tokenizer: [tokenizer.json](https://huggingface.co/Qwen/Qwen3.6-35B-A3B) from the model's own page.+## Not measured yetQwen3-Coder-30B-A3B and Qwen3-Next-80B-A3B-Instruct run on Coachwhip (see the README) but have not been through these checks yet.diff --git a/docs/releases/0.3.0.md b/docs/releases/0.3.0.mdindex c694084..235ff01 100644--- a/docs/releases/0.3.0.md+++ b/docs/releases/0.3.0.md@@ -10,14 +10,14 @@ Mac mini M4, 16 GB, measured; your Mac and your prompt will move the numbers. Me## New model-- **Qwen3.6-35B-A3B** (`qwen35moe`): Qwen's newest MoE generation. 40 layers, 256 experts, 8 used. Loads and answers from the unsloth UD-Q4_K_M file (22 GB) at `--bank 56`. Its linear attention pairs value heads with key heads differently from Qwen3-Next, and the maths was checked layer by layer against llama.cpp on the same file and prompt.+- **Qwen3.6-35B-A3B** (`qwen35moe`): Qwen's newest MoE generation. 40 layers, 256 experts, 8 used. Runs from the unsloth UD-Q4_K_M file (22 GB) at `--bank 44`: **6.2 tok/s** over the five prompts, **8/8** on the quality tasks, answers byte-identical across speed settings. Its linear attention pairs value heads with key heads differently from Qwen3-Next, and the maths was checked layer by layer against llama.cpp on the same file and prompt.- **A thinking switch**, for models that have one: the "let it think first" box on the chat page, `--think` in the terminal, always off through the API. It only puts the model's own template text at the start of its turn.-- Speed and quality for the 35B: see MODELS.md. <!-- filled from bench/speed and bench/quality before release -->+- Bank 56 also runs the 35B at the same speed but holds 2 GB more; on 16 GB it ran out of GPU memory once on a long thinking answer. Use 44.## Structure- Cargo workspace: `crates/engine`, `crates/server`, `crates/cli`.-- 59 unit tests (`cargo test --release`) and two Mac checks in `tests-mac/`: answers identical across speed settings; every supported model loads.+- 59 unit tests (`cargo test --release`) and two Mac checks in `tests-mac/`: answers identical across speed settings; every supported model loads. Qwen3-Coder-30B-A3B runs with the early guess too (7.6 tok/s at bank 56, one run by the tester).- `bench/speed` and `bench/quality`: the scripts behind every number on the models page, so you can run them on your Mac.- README: a conversation holds up to 16K tokens.