← MIC coverage of Transformers model types

openai/gpt-oss-20b

huggingface-mic/gpt_oss-mic@8fea014b7848 ← openai/gpt-oss-20b@6cee5e81ee83 · GptOssForCausalLM · random weights · built before the shrink rule (no recorded recipe)

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

Original20.9Bparameters
Fixture26.0Mparameters
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 · 24
Fixture · 2
KindOriginalFixture
sliding_attention121✓ kept
full_attention121✓ 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.layers19.8B94.5%224.9K0.9%
lm_head579.1M2.8%12.9M49.6%
model.embed_tokens579.1M2.8%12.9M49.6%
model.norm2.9K0.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleGQA (64 heads, 8 KV)GQA (4 heads, 2 KV)✓ kept
modelMoE routingtop-4 of 32 expertstop-2 of 4 experts✓ kept
modelRoPE typeyarnyarn✓ kept
modelmodel_typegpt_ossgpt_oss✓ kept
modelvocab_size201088201088✓ kept
modeltie_word_embeddingsFalseFalse✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings131072131072✓ kept

Module classes

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

ClassOriginalFixture
Linear979
RMSNorm495
Attention242
DecoderLayer242
Experts242
MLP242
TopKRouter242
Embedding11
ForCausalLM11
Model11
RotaryEmbedding11
ModuleList11

Config changes

10 fields changed, 29 unchanged.

FieldOriginalFixture
head_dim6416
hidden_size288064
intermediate_size2880128
layer_types24 entries: 12× sliding_attention, 12× full_attention["sliding_attention", "full_attention"]
num_attention_heads644
num_experts_per_tok42
num_hidden_layers242
num_key_value_heads82
num_local_experts324
quantization_config{"modules_to_not_convert": ["model.layers.*.self_attn", "model.layers.*.mlp.r…null