← MIC coverage of Transformers model types

Qwen/Qwen3.5-0.8B

huggingface-mic/Qwen3.5-0.8B-mic@4f495bc38104 ← Qwen/Qwen3.5-0.8B@2fc06364715b · Qwen3_5ForConditionalGeneration · random weights

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

Original853.0Mparameters
Fixture16.8Mparameters
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 (38 literal values, 23 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 · 12
Fixture · 12
KindOriginalFixture
VisionBlock1212✓ kept

model.language_model.layers

Original · 24
Fixture · 2
KindOriginalFixture
linear_attention, Conv1d, GatedDeltaNet …181✓ kept
is_causal=True, Attention61✓ 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.layers498.1M58.4%152.9K0.9%
model.language_model254.3M29.8%15.9M94.7%
model.visual.blocks85.1M10.0%401.7K2.4%
model.visual15.5M1.8%328.2K2.0%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typeqwen3_5qwen3_5✓ kept
modeltie_word_embeddingsTrueTrue✓ kept
text_configattention styleGQA (8 heads, 2 KV)GQA (4 heads, 2 KV)✓ kept
text_configRoPE typedefaultdefault✓ kept
text_configmodel_typeqwen3_5_textqwen3_5_text✓ kept
text_configvocab_size248320248320✓ kept
text_configtie_word_embeddingsTrueTrue✓ kept
text_confighidden_actsilusilu✓ kept
text_configmax_position_embeddings262144262144✓ kept
vision_configRoPE typeaxialaxial✓ kept
vision_configmodel_typeqwen3_5_visionqwen3_5_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_5 omitted).

ClassOriginalFixture
Linear23766
RMSNorm617
LayerNorm2525
DecoderLayer242
MLP242
SiLUActivation242
Conv1d181
GatedDeltaNet181
RMSNormGated181
GELUTanh1212
VisionAttention1212
VisionBlock1212
VisionMLP1212
Attention61
Embedding22
ModuleList22
Conv3d11
GELU11
ForConditionalGeneration11
Model11
TextModel11
TextRotaryEmbedding11
VisionModel11
VisionPatchEmbed11
VisionPatchMerger11
VisionRotaryEmbedding11

Config changes

13 fields changed, 64 unchanged.

FieldOriginalFixture
text_config.head_dim25616
text_config.hidden_size102464
text_config.intermediate_size3584128
text_config.layer_types24 entries: 18× linear_attention, 6× full_attention["linear_attention", "full_attention"]
text_config.linear_key_head_dim12816
text_config.linear_value_head_dim12816
text_config.num_attention_heads84
text_config.num_hidden_layers242
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…
vision_config.hidden_size76864
vision_config.intermediate_size3072128
vision_config.num_heads124
vision_config.out_hidden_size102464