Context
The cookbook architecture-demos spec tracks InternLM2.5 as status: blocked. Issue #367 ("feat: add InternLM2.5 architecture support for inference", closed 2026-04-13) was deferred ("Low — skip in QA campaign for now"). This is the re-open: the cookbook now blocks 1 family-smoke recipe + apr-model-qa-playbook playbooks until the loader lands.
Family
- Name: internlm2_5
- Vendor: InternLM
- HF architectures:
InternLM2ForCausalLM
- HF pattern:
internlm/internlm2_5-*
- Reference checkpoints:
internlm/internlm2_5-1_8b-chat, internlm/internlm2_5-7b-chat, internlm/internlm2_5-20b-chat
Known gating constraint (from #367)
InternLM2 uses non-standard tensor naming: attention.wqkv (fused QKV) instead of self_attn.q_proj.weight. The loader needs to recognize this naming variant and either remap or generate fused-QKV-aware kernels.
Acceptance criteria
Unblock impact
- Cookbook manifest flips from
blocked to certified
- 1.8b checkpoint is small enough for sub-1B dim-smoke regression coverage
Cookbook reference
Context
The cookbook architecture-demos spec tracks InternLM2.5 as
status: blocked. Issue #367 ("feat: add InternLM2.5 architecture support for inference", closed 2026-04-13) was deferred ("Low — skip in QA campaign for now"). This is the re-open: the cookbook now blocks 1 family-smoke recipe + apr-model-qa-playbook playbooks until the loader lands.Family
InternLM2ForCausalLMinternlm/internlm2_5-*internlm/internlm2_5-1_8b-chat,internlm/internlm2_5-7b-chat,internlm/internlm2_5-20b-chatKnown gating constraint (from #367)
InternLM2 uses non-standard tensor naming:
attention.wqkv(fused QKV) instead ofself_attn.q_proj.weight. The loader needs to recognize this naming variant and either remap or generate fused-QKV-aware kernels.Acceptance criteria
contracts/model-families/internlm2_5.yamlexists with size_variants for 1_8b, 7b, 20battention.wqkvfused-QKV tensor naminginternlm2_5-1_8b-chatresolves the missing-tensor failure documented in feat: add InternLM2.5 architecture support for inference #367Unblock impact
blockedtocertifiedCookbook reference
name: internlm2_5block