ai-infra-jobs

tools/llm-vis / glm-5-2

GLM-5.2

The DeepSeek recipe with wide MLA-256 heads and a shared DSA indexer: 744B parameters, 40B active, 1M context.

params=744Bactive=40Blayers=78ctx=1Mvocab=154,880

source: config.json ↗ · tech report ↗ snapshot 2026-08-25

attentionFFN / MoEnorm / residualembedding / headauxiliarydata flowresidualauxiliary
TRANSFORMER LAYER[× 78 layers]MULTI-HEAD LATENT ATTENTIONMIXTURE OF EXPERTS FFNinput_ids[B, T]Token embeddingV=154,880 → d=6144RMSNormeps=0.00001Q low-rank projd=6144 → r=2048 → headsScaled dot-product attention64 headsOutput projectionheads → d=6144Lightning indexer32 idx heads · d=128top-2048 · 21 own / 57 reuseKV latent compressiond=6144 → c_kv=512Decoupled RoPEd_rope=64 · θ=8M⊕ residual addRMSNormeps=0.00001SwiGLU MLPd=6144 → 12288 → 6144Routersigmoid over 256 expertstop-8 · aux-loss-free · ×2.5Shared expertSwiGLU d=6144 → 2048Routed expertsSwiGLU d=6144 → 2048×256 · 8 active⊕ weighted sumΣ wᵢ·eᵢ(x)×2.5⊕ residual addRMSNormeps=0.00001LM headd=6144 → V=154,880next-token logits[B, T, 154880]Multi-Token Predictiondepth=1 · shares embedding & head