← MIC coverage of Transformers model types

zai-org/GLM-4.5-Air

huggingface-mic/GLM-4.5-Air-mic@abc7ea97d6d6 ← zai-org/GLM-4.5-Air@a24ceef6ce4f · Glm4MoeForCausalLM · random weights

CI: no failure on main in 30 days · MIC failures dashboard

Original106.9Bparameters
Fixture19.5Mparameters
Layer stacks1compared
Findings0to review

✓ Same architecture, smaller

Every module class, layer kind and checked property of the original is in the fixture.

Layer stacks

One square per layer, colored by kind: the layer's module classes and type attributes. Hover a square for its index and kind.

model.layers

Original · 46
Fixture · 2
KindOriginalFixture
no Experts11✓ kept
Experts, MoE, TopkRouter451✓ kept

Where the parameters are

Share of each model's parameters per component. Vocabulary and patch sizes are kept, so embeddings usually take a larger share of the fixture.

Original
Fixture
ComponentOriginalShareFixtureShare
model.layers105.6B98.8%80.6K0.4%
lm_head620.8M0.6%9.7M49.8%
model.embed_tokens620.8M0.6%9.7M49.8%
model.norm4.1K0.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleGQA (96 heads, 8 KV)GQA (4 heads, 2 KV)✓ kept
modelMoE routingtop-8 of 128 expertstop-2 of 4 experts✓ kept
modelRoPE typedefaultdefault✓ kept
modelmodel_typeglm4_moeglm4_moe✓ kept
modelvocab_size151552151552✓ kept
modeltie_word_embeddingsFalseFalse✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings131072131072✓ kept

Module classes

Instances of each class in the built model (prefix Glm4Moe omitted).

ClassOriginalFixture
Linear32315
RMSNorm935
SiLUActivation913
Attention462
DecoderLayer462
MLP462
Experts451
MoE451
TopkRouter451
Embedding11
ForCausalLM11
Model11
RotaryEmbedding11
ModuleList11

Config changes

9 fields changed, 31 unchanged.

FieldOriginalFixture
head_dim12816
hidden_size409664
intermediate_size10944128
moe_intermediate_size140832
n_routed_experts1284
num_attention_heads964
num_experts_per_tok82
num_hidden_layers462
num_key_value_heads82