← MIC coverage of Transformers model types

moonshotai/Kimi-K2.5

huggingface-mic/Kimi-K2.5-mic@ae31dfdce034 ← moonshotai/Kimi-K2.5@4d01dfe0332d · Kimi_K25ForConditionalGeneration · random weights

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

Original1.0Tparameters
Fixture21.5Mparameters
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 (43 literal values, 28 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.vision_tower.layers

Original · 27
Fixture · 2
KindOriginalFixture
VisionEncoderLayer272✓ kept

model.language_model.layers

Original · 61
Fixture · 2
KindOriginalFixture
no DeepseekV3Experts11✓ kept
DeepseekV3Experts, DeepseekV3MoE, DeepseekV3TopkRouter601✓ 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.layers1.0T99.7%76.4K0.4%
model.language_model1.2B0.1%10.5M48.8%
lm_head1.2B0.1%10.5M48.8%
model.vision_tower.layers411.5M0.0%66.9K0.3%
model.mm_projector54.3M0.0%82.4K0.4%
model.vision_tower5.4M0.0%300.0K1.4%

Preserved properties

ConfigPropertyOriginalFixture
modelmodel_typekimi_k25kimi_k25✓ kept
modeltie_word_embeddingsFalseFalse✓ kept
text_configattention styleMHA (64 heads, 64 KV)MHA (4 heads, 4 KV)✓ kept
text_configMoE routingtop-8 of 384 expertstop-2 of 4 experts✓ kept
text_configRoPE typeyarnyarn✓ kept
text_configmodel_typedeepseek_v3deepseek_v3✓ kept
text_configvocab_size163840163840✓ kept
text_configtie_word_embeddingsFalseFalse✓ kept
text_confighidden_actsilusilu✓ kept
text_configmax_position_embeddings262144262144✓ kept
vision_configRoPE typeaxialaxial✓ kept
vision_configmodel_typekimi_k25_visionkimi_k25_vision✓ kept
vision_confighidden_actgelu_pytorch_tanhgelu_pytorch_tanh✓ kept
vision_configpatch_size1414✓ kept

Module classes

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

ClassOriginalFixture
Linear65331
DeepseekV3RMSNorm2459
SiLUActivation1213
DeepseekV3Attention612
DeepseekV3DecoderLayer612
DeepseekV3MLP612
DeepseekV3Experts601
DeepseekV3MoE601
DeepseekV3TopkRouter601
LayerNorm566
GELUTanh272
VisionAttention272
VisionEncoderLayer272
VisionMLP272
ModuleList22
Conv2d11
DeepseekV3Model11
DeepseekV3RotaryEmbedding11
Embedding11
GELU11
ForConditionalGeneration11
Model11
MultimodalProjection11
VisionModel11
VisionPatchEmbed11
VisionPositionEmbeddings11
VisionRotaryEmbedding11

Config changes

23 fields changed, 105 unchanged.

FieldOriginalFixture
projection_hidden_size115264
text_config.head_dim648
text_config.hidden_size716864
text_config.intermediate_size18432128
text_config.kv_lora_rank51216
text_config.moe_intermediate_size204832
text_config.n_routed_experts3844
text_config.num_attention_heads644
text_config.num_experts_per_tok82
text_config.num_hidden_layers612
text_config.num_key_value_heads644
text_config.q_lora_rank153616
text_config.qk_nope_head_dim12816
text_config.qk_rope_head_dim648
text_config.quantization_config{"config_groups": {"group_0": {"input_activations": null, "output_activations…—
text_config.v_head_dim12816
vision_config.hidden_size115264
vision_config.intermediate_size4304128
vision_config.mm_hidden_size115264
vision_config.num_attention_heads164
vision_config.num_hidden_layers272
vision_config.vt_hidden_size115264
vision_config.vt_intermediate_size4304128