TensorTonicTensorTonic
Problems
Study PlansProjectsInterviewPricingFeedback

Research Papers

GLM-4.5

GLM-4.5 badge
1

RMSNorm

Plus

Root Mean Square Norm: stable, no-bias normalization used pre-attention and pre-FFN throughout GLM-4.5.

2

RoPE Freqs

Plus

Base RoPE inverse-frequency table used by GLM-4.5 attention.

3

Partial RoPE

Plus

Apply RoPE only to the first rope_dim channels of each head; leave the remaining channels position-free.

4

QK Norm

Plus

Normalize the query and key with RMSNorm before the dot product to stabilize attention logits.

5

GQA Attention

Plus

Forward pass combining GQA, partial RoPE, and QK-norm before scaled dot-product attention.

6

Dense SwiGLU

Plus

SwiGLU FFN used in the dense prefix layer of GLM-4.5 (layers before the MoE blocks).

7

Group Router

Plus

Group-restricted top-k routing: sigmoid scores, pick topk_group groups first, then top-k experts within those.

8

Shared Expert

Plus

Always-on expert that processes every token, summed with the routed mixture, with a routed scaling factor.

9

MoE Forward

Plus

Sparse MoE forward combining group-routed top-k, SwiGLU experts, shared expert, and routed_scaling_factor.

10

MTP Head

Plus

Multi-Token Prediction head used in GLM-4.5 to predict additional future tokens for speculative decoding.

11

Transformer Block

Plus

Pre-norm GLM-4.5 block: RMSNorm, QK-norm attention with partial RoPE, residual, RMSNorm, dense-or-MoE FFN, residual.

12

Full Forward

Plus

Embedding plus stacked GLM-4.5 blocks (1 dense prefix layer, then MoE layers), final RMSNorm, lm_head logits.

Loading architecture visualization...