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.

Related event: 22.8MB Adapter Teaches Frozen Qwen4-35B to Loop, Boosting LiveCodeBench 18.3 Points(6 posts)→

Original post →

More from Infra

Infra channel →