Wink Pings

GLM-5.4 also uses looped transformers—the VRAM saved has to be paid back in compute

Leandro von Werra says looped transformers may be the next big shift after MoE. In their replies, Patrick C. and Xray lay out the accounting: VRAM is saved, but the compute, latency, and tok/s cost of every additional pass all have to be recalculated.

Leandro von Werra posted on X asking what looped transformers are. He made a strong claim: more and more models are starting to use looped architectures, and this may be the biggest change after MoE. The latest models to use it are Inkling 2 Mini and GLM-5.4, with rumors that Astra is also among them.

MoE stands for mixture of experts; the common approach is to route different tokens to different experts, using routing to scale up parameter count. The idea behind looped transformers is more direct: run the same set of layers or weights multiple times. Parameter count does not increase, but effective depth does. It sounds like getting depth for free. The cost does not disappear; it just moves from parameters and VRAM to inference compute. Every additional pass means paying the compute again.

Leandro recommended a visualization blog, saying it is good material for learning about looped transformers. In a reply, he noted that all the visual content was created by dlouapre. The blog is on Hugging Face Spaces: dlouapre/looped-transformers. Author avatar:

dlouapre

Patrick C. does not buy the phrase 'the biggest change after MoE.' In his reply, he writes that looping the same set of weights does save VRAM, but every extra pass also costs compute. He asks how many loops GLM-5.4 would need before tok/s drops below that of a dense model. The question is very practical: saving parameters and VRAM is only half the ledger; the other half is inference latency and throughput.

Xray's reply breaks down the accounting in more detail. Reusing the same set of weights and passing through them several more times is equivalent to trading no additional parameters for depth. What it changes is the scaling equation: inference cost goes from fixed to variable. Hard problems get more loops; easy problems stop early. The most interesting thing to watch next is whether the number of loops can be adaptive. If every token gets a fixed number of loops, the saved parameters will again be paid back in compute.

There is a counterintuitive point here: looped architectures are easily mistaken for free depth. In deployment, it is more like converting fixed cost into variable cost. With fewer model parameters, VRAM pressure may drop; but on the serving side, every additional loop means compute and latency must be recalculated. For people doing inference, the key questions are: given a tok/s and cost target, how should the number of loops be set, can it stop early, and when is it more cost-effective than a dense model?

The blog and video explain the concept intuitively, while Patrick C. and Xray's replies put the cost on the table. For looped transformers to become the big change after MoE, they still have to answer a very engineering-oriented question: when are those extra loops actually worth it?

发布时间: 2026-11-27 08:25