← MIC coverage of Transformers model types

mistralai/Mixtral-8x7B-Instruct-v0.1

huggingface-mic/Mixtral-8x7B-Instruct-v0.1-mic@ed591c0820ae ← mistralai/Mixtral-8x7B-Instruct-v0.1@eba92302a286 · MixtralForCausalLM · random weights

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

Original46.7Bparameters
Fixture4.3Mparameters
Layer stacks1compared
Findings0to review

✓ Same architecture, smaller

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

Model tester (advisory)

The model's own small test config in its ModelTester (16 literal values, 0 set by the model's own tester, the rest generic base-tester defaults). Testers are usually representative but not always, so these notes are for review, not rules.

The fixture covers every per-layer kind the tester sets, and shrinks every size it does.

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 · 32
Fixture · 2
KindOriginalFixture
DecoderLayer322✓ 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.layers46.4B99.4%222.0K5.1%
model.embed_tokens131.1M0.3%2.0M47.4%
lm_head131.1M0.3%2.0M47.4%
model.norm4.1K0.0%640.0%

Preserved properties

ConfigPropertyOriginalFixture
modelattention styleGQA (32 heads, 8 KV)GQA (4 heads, 2 KV)✓ kept
modelMoE routingtop-2 of 8 expertstop-2 of 4 experts✓ kept
modelRoPE typedefaultdefault✓ kept
modelmodel_typemixtralmixtral✓ kept
modelvocab_size3200032000✓ kept
modeltie_word_embeddingsFalseFalse✓ kept
modelhidden_actsilusilu✓ kept
modelmax_position_embeddings3276832768✓ kept

Module classes

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

ClassOriginalFixture
Linear1299
RMSNorm655
Attention322
DecoderLayer322
Experts322
SparseMoeBlock322
TopKRouter322
SiLUActivation322
Embedding11
ForCausalLM11
Model11
RotaryEmbedding11
ModuleList11

Config changes

6 fields changed, 27 unchanged.

FieldOriginalFixture
hidden_size409664
intermediate_size14336128
num_attention_heads324
num_hidden_layers322
num_key_value_heads82
num_local_experts84