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).
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 = 2holds54.4 / 46.7 / 51.1 tok/scode decode (76–88%of stock) and35.3 / 36.6 / 32.3 tok/sprose decode at a steady1296 MHz. - Quantization × depth (
M5 Max 40c,STQ-2.25bpw, Hard3770@128k): OnlyT = 2(99.1ktok,81.2 tok/s) andT = 2, ω = 0.15(105.9ktok,84.4 tok/s) converged and passed strictly, whilestock,T = 3, andT = 3, ω = 0.15hit the128kcap — making--loop --loop-depth 2the best general default across2.25bpw/3bpw/4bpw, and--loop --loop-depth 3 --loopcd-omega 0.15 --loopcd-ref firstthe lowest-token option on4bpw. - 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, fusedv4delta_rms_match), bit-exact BF16-in → FP32-out STQ launches (killing.trainerFP32-input cascades and restoring counted + stackedin_shared), and safe final-passsettleLastskip (#475, #477, #478). OnDeepSeek-V4.1-Flash-1017-Sushi-STQ-2.7bpw(M5 Ultra,0late pipelines, bit-exact.trainerparity):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
/loopadapter 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.jsonversion checking (respectingpack_update_check), and atomic Download / Update buttons with rollback safety (#479). - Adaptive QSA split-K
nsplitby GPU core count: Scales QSA split-Knspliton>= 32-core Apple Silicon GPUs (targeting128threadgroups whenmtp == 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.jsonequivalent) 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), streamsrerankCoarseBill, and alignsbills_ledgerpinned_context/max_givenaccounting while preserving all multi-slot concurrency invariants (#473, fixes #469 — thanks @johnnyasantoss). - Fixed
sushibar30–50% idle CPU loop: Replaced theNSTextFieldstatus-bar readout with a customNSViewso macOS no longer spinsNSStatusItemlayout/redraw ticks (#480). - Fixed DeepSeek-V4.1 trailing coda LoRA miss during looped decode (#477).
