Looped Transformers Aren't Free: Loop Qwen 4 at T=3 Adds 80% KV Cache
teortaxesTex · x · 2026-12-05
teortaxesTex highlights a detail many miss about looped transformers: while per-token compute grows with loop iterations, per-layer KV cache doesn't go away — looped Qwen 4 at T=3 adds roughly 80% KV cache for the same sequence length.
He cites @Beamsters1's benchmark as counterweight: on an M5 Max 128GB (Sushi engine), testing DeepSeek 4.1 STQ 1.75bpw on 4 LiveCodeBench v6 problems with Jason Titus's v41-000060 loop build vs v1 and no-loop, 3 Loops with LoopCD was 2x faster and used nearly 3x fewer tokens than stock.
Verdict: looping is still worth it, but it's no free lunch — the extra KV cache overhead must be factored into deployment math.
More from Infra
- MiniMax H3 image gen runs locally on RTX 3060 12GB with 8-step turbo — Ok_Roll_8698 · 2026-12-06
- Complex compilers and unreadable instruction streams may signal bad hardware design — mike64_t · 2026-12-06
- China moves to restrict NAND bonding tech exports, threatening Samsung and SK Hynix licenses of YMTC's Xtacking patents — zephyr_z9 · 2026-12-06
- qwengine: C++20/CUDA engine runs Qwen4-35B-A3B NVFP4 on a single RTX 5090 — AIFlow_ML · 2026-12-06
- The 'compute man' parable: an AI founder who bet big on compute prices finds no buyer — toptickcrypto · 2026-12-06
- 91% of yubot users' model calls go through private models, claims full-stack encryption — markjeffrey · 2026-12-06