← MIC coverage of Transformers model types

Qwen/Qwen3.5-35B-A3B

huggingface-mic/Qwen3.5-35B-A3B-mic@ed07422cd836 ← Qwen/Qwen3.5-35B-A3B@59d61f3ce65a · Qwen3_5MoeForConditionalGeneration · random weights

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

Original35.1Bparameters
Fixture33.3Mparameters
Layer stacks2compared
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 (54 literal values, 34 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.visual.blocks

Original · 27
Fixture · 27
KindOriginalFixture
VisionBlock2727✓ kept

model.language_model.layers

Original · 40
Fixture · 2
KindOriginalFixture
linear_attention, Conv1d, GatedDeltaNet …301✓ kept
is_causal=True, Attention101✓ 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.language_model.layers33.6B95.8%255.0K0.8%
model.language_model508.6M1.4%15.9M47.8%
lm_head508.6M1.4%15.9M47.8%
model.visual.blocks411.5M1.2%903.7K2.7%
model.visual35.1M0.1%328.2K1.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typeqwen3_5_moeqwen3_5_moe✓ kept
modeltie_word_embeddingsFalseFalse✓ kept
text_configattention styleGQA (16 heads, 2 KV)GQA (4 heads, 2 KV)✓ kept
text_configMoE routingtop-8 of 256 expertstop-2 of 4 experts✓ kept
text_configRoPE typedefaultdefault✓ kept
text_configmodel_typeqwen3_5_moe_textqwen3_5_moe_text✓ kept
text_configvocab_size248320248320✓ kept
text_configtie_word_embeddingsFalseFalse✓ kept
text_confighidden_actsilusilu✓ kept
text_configmax_position_embeddings262144262144✓ kept
vision_configRoPE typeaxialaxial✓ kept
vision_configmodel_typeqwen3_5_moe_visionqwen3_5_moe_vision✓ kept
vision_confighidden_actgelu_pytorch_tanhgelu_pytorch_tanh✓ kept
vision_configpatch_size1616✓ kept

Module classes

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

ClassOriginalFixture
Linear461128
RMSNorm1017
SiLUActivation804
LayerNorm5555
DecoderLayer402
Experts402
MLP402
SparseMoeBlock402
TopKRouter402
Conv1d301
GatedDeltaNet301
RMSNormGated301
GELUTanh2727
VisionAttention2727
VisionBlock2727
VisionMLP2727
Attention101
Embedding22
ModuleList22
Conv3d11
GELU11
ForConditionalGeneration11
Model11
TextModel11
TextRotaryEmbedding11
VisionModel11
VisionPatchEmbed11
VisionPatchMerger11
VisionRotaryEmbedding11

Config changes

16 fields changed, 66 unchanged.

FieldOriginalFixture
text_config.head_dim25616
text_config.hidden_size204864
text_config.layer_types40 entries: 30× linear_attention, 10× full_attention["linear_attention", "full_attention"]
text_config.linear_key_head_dim12816
text_config.linear_value_head_dim12816
text_config.moe_intermediate_size51232
text_config.num_attention_heads164
text_config.num_experts2564
text_config.num_experts_per_tok82
text_config.num_hidden_layers402
text_config.rope_parameters{"mrope_interleaved": true, "mrope_section": [11, 11, 10], "rope_type": "defa…{"mrope_interleaved": true, "mrope_section": [3, 3, 2], "partial_rotary_facto…
text_config.shared_expert_intermediate_size512128
vision_config.hidden_size115264
vision_config.intermediate_size4304128
vision_config.num_heads164
vision_config.out_hidden_size204864