0007
GLM-5.2 · MoE router
00 · Router fan-out
One token scores all 256 routed experts
After the first three dense FFN layers, each GLM-5.2 decoder block uses a sparse MoE. The token's 6,144-dimensional hidden state is projected into one router logit per routed expert before any expert MLP executes.
6144d token → 256 routed-expert logitsImplementation
hidden_states → gate_proj → 256 router logitsThe compact expert grid in this scene is a schematic subset. The released checkpoint has exactly 256 routed experts.