transformers
4df015c5 - Add SarvamMoE (sarvamai/sarvam-30b) (#51023)

Commit
2 days ago
Add SarvamMoE (sarvamai/sarvam-30b) (#51023) Sarvam-30B has the GLM-4-MoE architecture under Ling/Bailing-style names, so it is added as a config-only model like SarvamMLA: `SarvamMoEConfig` extends `Glm4MoeConfig` (full rotary, Sarvam-30B defaults, the original config names as aliases), the auto classes map `sarvam_moe` to the GLM-4-MoE classes, and a conversion mapping renames the checkpoint and splits its fused GQA `query_key_value`. Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Author
Parents
Loading