github beamivalice/sushi v1.9.2
sushi v1.9.2

2 hours ago

v1.9.2 — Looped Qwen4-35B-A3B, 2× Faster DSv4.1 Loops & Cooler Reliability (2026-12-05)

Headline: Looped Reasoning on Qwen4-35B-A3B

Sushi v1.9.2 adds Cooler-native Open-Channel v4 (delta_rms_match) looped reasoning for Qwen4-35B-A3B (qwen4_moe, layers 12..27 recurrent core, *_tanh safetensors keys, sushi_compat prefix-cache salting, bit-exact MLX parity, and 0 late Metal pipelines; #476 — thanks @sliderforthewin / Jason Titus for training and open-sourcing Looped-Qwen4-35B-A3B), alongside one-click Web UI /loop adapter detection, download, and version-controlled updates across Qwen4-35B-A3B, Qwen3.8-Flash-Next, and DeepSeek-V4.1-Flash (#479).

Qwen4-35B-A3B Looped Reasoning on LiveCodeBench v6 (128k)

On a 10-problem LiveCodeBench v6 slice (n = 10: 5 Medium, 5 Hard, 128k token cap, Qwen4-35B-A3B-Sushi-STQ-4bpw, M5 Ultra, KV8 + MTP, 1.05M generated tokens, 0 cap hits, 0 late pipelines):

Arm Effective Layers Passed (128k, n=10) Med / Hard Total Tokens vs Stock Tok Wall Time Eff. tok/s
stock (--no-loop) 40 6/10 4/5 · 2/5 180,919 — 17.6m 171.4
loop_t2 (T = 2) 56 10/10 5/5 · 5/5 175,265 -3.1% 22.5m 129.7
loop_t2_cd (T = 2, ω = 0.15) 56 9/10 5/5 · 4/5 160,577 -11.2% 20.6m 130.0
loop_t3 (T = 3) 72 9/10 5/5 · 4/5 193,784 +7.1% 31.8m 101.5
loop_t3_cd (T = 3, ω = 0.15) 72 10/10 5/5 · 5/5 156,553 -13.5% 25.3m 103.1
loop_t3_cd03 (T = 3, ω = 0.30) 72 8/10 4/5 · 4/5 178,739 -1.2% 28.2m 105.5
  • Everyday Macs (M1 Max 32 GB, STQ-4bpw, 4k–16k, MTP on): Loop T = 2 holds 54.4 / 46.7 / 51.1 tok/s code decode (76–88% of stock) and 35.3 / 36.6 / 32.3 tok/s prose decode at a steady 1296 MHz.
  • Quantization × depth (M5 Max 40c, STQ-2.25bpw, Hard 3770 @ 128k): Only T = 2 (99.1k tok, 81.2 tok/s) and T = 2, ω = 0.15 (105.9k tok, 84.4 tok/s) converged and passed strictly, while stock, T = 3, and T = 3, ω = 0.15 hit the 128k cap — making --loop --loop-depth 2 the best general default across 2.25bpw / 3bpw / 4bpw, and --loop --loop-depth 3 --loopcd-omega 0.15 --loopcd-ref first the lowest-token option on 4bpw.
  • Full write-up & charts: blog/qwen4-35b-loop.md.

Enhancements & Performance

  • Halved DeepSeek-V4.1 loop LoRA overhead (-50%, 240 µs → 120 µs / adapted layer): Added fused Cooler Metal loop kernels (loraUpPairSwiglu, loraUpAddRmsNorm, loraAddRowMajor, loraAddExpand, fused v4 delta_rms_match), bit-exact BF16-in → FP32-out STQ launches (killing .trainer FP32-input cascades and restoring counted + stacked in_shared), and safe final-pass settleLast skip (#475, #477, #478). On DeepSeek-V4.1-Flash-1017-Sushi-STQ-2.7bpw (M5 Ultra, 0 late pipelines, bit-exact .trainer parity):
    • T = 2: 45.2 → 49.0 tok/s (20.41 ms/tok, -18.5% GPU energy)
    • T = 3: 33.7 → 38.2 tok/s (26.18 ms/tok, +13.4%, -16% CPU instructions)
  • Web UI one-click /loop adapter manager: Automatic <model-dir>/loop/ folder detection, official catalog support (Qwen4-35B-A3B, Qwen3.8-Flash-Next, DeepSeek-V4.1-Flash), content-addressed .sushi-loop-meta.json version checking (respecting pack_update_check), and atomic Download / Update buttons with rollback safety (#479).
  • Adaptive QSA split-K nsplit by GPU core count: Scales QSA split-K nsplit on >= 32-core Apple Silicon GPUs (targeting 128 threadgroups when mtp == null) to lift long-context Qwen4 attention utilization (#468, closes #417 — thanks @ostegmann).
  • Disable pack YaRN back to native RoPE (yarn_factor = 1): Accepts --yarn-factor 1 / "off" / "native" (and Web UI / model-settings.json equivalent) to bypass pack YaRN overrides back to native RoPE (#471, fixes #470 — thanks @johnnyasantoss).

Bug Fixes

  • Fixed Sushi Cooler memory solver vs. ledger admission mismatch: Trims Cooler free-pool memory at static_bill.open (~1.9 GiB), releases transient stacked STQ trunk projections (~1.0 GiB), streams rerankCoarseBill, and aligns bills_ledger pinned_context / max_given accounting while preserving all multi-slot concurrency invariants (#473, fixes #469 — thanks @johnnyasantoss).
  • Fixed sushibar 30–50% idle CPU loop: Replaced the NSTextField status-bar readout with a custom NSView so macOS no longer spins NSStatusItem layout/redraw ticks (#480).
  • Fixed DeepSeek-V4.1 trailing coda LoRA miss during looped decode (#477).

Don't miss a new sushi release

NewReleases is sending notifications on new releases.