← MIC coverage of Transformers model types

zai-org/GLM-5.3

huggingface-mic/GLM-5.3-mic@1088c4f5a18b ← zai-org/GLM-5.3@ba32f8c19c87 · GlmMoeDsaForCausalLM · random weights

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

Original743.4Bparameters
Fixture41.0Mparameters
Layer stacks1compared
Findings1to review

⚠ To review

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 · 78
Fixture · 7
KindOriginalFixture
Indexer, LayerNorm33✓ kept
Experts, MoE, TopkRouter573✓ kept
Experts, Indexer, MoE …181✓ 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.layers741.5B99.7%1.4M3.3%
model.embed_tokens951.6M0.1%19.8M48.3%
lm_head951.6M0.1%19.8M48.3%
model.norm6.1K0.0%1280.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleMHA (64 heads, 64 KV)MHA (4 heads, 4 KV)✓ kept
modelMoE routingtop-8 of 256 expertstop-2 of 8 experts✓ kept
modelRoPE typedefaultdefault✓ kept
modelmodel_typeglm_moe_dsaglm_moe_dsa✓ kept
modelvocab_size154880154880✓ kept
modeltie_word_embeddingsFalseFalse✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings1048576512⚠ changed

Module classes

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

ClassOriginalFixture
Linear68869
RMSNorm31329
SiLUActivation15311
Attention787
DecoderLayer787
MLP787
Experts754
MoE754
TopkRouter754
Indexer214
LayerNorm214
Embedding11
ForCausalLM11
Model11
RotaryEmbedding11
ModuleList11

Config changes

23 fields changed, 42 unchanged.

FieldOriginalFixture
first_k_dense_replace31
head_dim648
hidden_size6144128
index_head_dim12816
index_n_heads322
index_topk20488
indexer_types78 entries: 57× shared, 21× full7 entries: 4× full, 3× shared
intermediate_size12288128
kv_lora_rank51232
layer_types78 entries: 78× indexed_attention7 entries: 7× indexed_attention
max_position_embeddings1048576512
mlp_layer_types78 entries: 75× sparse, 3× dense7 entries: 4× sparse, 3× dense
moe_intermediate_size204864
n_routed_experts2568
num_attention_heads644
num_experts_per_tok82
num_hidden_layers787
num_key_value_heads644
q_lora_rank204864
qk_nope_head_dim19224
qk_rope_head_dim648
quantization_config{"activation_scheme": "dynamic", "fmt": "e4m3", "quant_method": "fp8", "weigh…—
v_head_dim25632