GLM-5.4 dissected: how looped transformers work at 750B scale with 106 layer passes from 78 layers
TheTuringPost · x · 2026-11-28
TheTuring Post breaks down GLM-5.4 as a case study in making looped transformers work at 750B scale.
The recipe: Zai continued training the pretrained GLM-5 base into a looped model, then loops the middle of the stack — layers 1–26 run once, 27–54 run twice with shared weights, 55–78 run once, yielding 106 layer passes per token from 78 layers of weights.
Three engineering changes: per-token "damp gates" prevent activation blowup (Pass 1 writes smaller updates to build context, Pass 2 opens wider to refine); Pass 2 reuses Pass 1's sparse KV for global context while keeping its own KV only for a 128-token sliding window, so at 1M context the extra pass costs one small window instead of a second full cache; and Pass 2 also reuses the sparse-attention indices, as detailed in the accompanying architecture diagram.
More from Models
- Users report GPT-6.2-Astra suddenly faster and smarter, speculating OpenAI rolled back throttling — yihui_indie · 2026-11-29
- Delip Rao to Anthropic: enable reasoning traces if you want good faith — deliprao · 2026-11-29
- Moth adds MCP integration: 60 models run inside Claude at up to 55% below list price — Aiden_Tech_Ai · 2026-11-29
- LiveBench data: top reasoning model scores 95.1 but drops to 58.5 on agentic tasks — Aiden_Tech_Ai · 2026-11-29
- Commentary: Neon marks Anthropic's first serious momentum loss since Opus 4.5 — teortaxesTex · 2026-11-29
- Accusation: Anthropic quietly restored 'nerfed' model once sabotage backlash died down — yacineMTB · 2026-11-29