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

Wrangler defaults: 1024-word prompt pieces with a sync per layer (reading 326 tok/s, text identical)

Picassoai3595df22641e
diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs
index 0c1d238..0c50d6d 100644
--- a/crates/cli/src/main.rs
+++ b/crates/cli/src/main.rs
@@ -156,7 +156,7 @@ fn main() -> Result<()> {
if fits && matches!(arch.as_deref(), Some("qwen35moe") | Some("qwen3next")) {
for (k, v) in [("COACHWHIP_RESIDENT", "1"), ("COACHWHIP_FUSE", "1"), ("COACHWHIP_NEWMV", "1"), ("COACHWHIP_ADDNORM", "1"),
("COACHWHIP_ROUTER16", "1"), ("COACHWHIP_GDN2", "1"), ("COACHWHIP_PIECE", "1"), ("COACHWHIP_GROUP", "3"),
- ("COACHWHIP_PROMPT_CHUNK", "256"), ("COACHWHIP_SHORT", "256"), ("COACHWHIP_FAST_CHAT", "1"), ("COACHWHIP_CONV_TOKENS", "8192")] {
+ ("COACHWHIP_PROMPT_CHUNK", "1024"), ("COACHWHIP_SHORT", "1024"), ("COACHWHIP_PIECE_SYNC", "1"), ("COACHWHIP_FAST_CHAT", "1"), ("COACHWHIP_CONV_TOKENS", "8192")] {
if std::env::var(k).is_err() {
std::env::set_var(k, v);
}