mcore-bridge
mcore-bridge copied to clipboard
MCore-Bridge: Providing Megatron-Core model definitions for state-of-the-art large models and making Megatron training as simple as Transformers — with support for 300+ large language models (Qwen3-Ne...
### Checklist / 检查清单 - [x] I have searched existing issues, and this is a new bug report. / 我已经搜索过现有的 issues,确认这是一个新的 bug report。 ### Bug Description / Bug 描述 ##...
## What `KimiK25Vit.get_inputs_embeds` previously raised `NotImplementedError` for any batch containing `pixel_values`, restricting Kimi-K2.5 / Kimi-K2.6 to **text-only** Megatron training. This PR implements the vision path so the 1T MoE can...
## 问题描述 即使没有配置 `--reset-attention-mask`,也会有 `packed_seq_params` 被传入,但缺少 `qkv_format` 或 `cu_seqlens_q`,导致 assertion 错误:AssertionError: Packed sequences are not supported when fla is not available. ## 修复方案 修改 `cu_seqlens` 的初始化逻辑,仅在满足以下所有条件时才设置 `cu_seqlens`: 1. `packed_seq_params is...
## Summary This PR adds initial Gemma 4 support to mcore-bridge, including: - mixed sliding/full attention config parsing - Gemma 4-specific text backbone handling - per_layer_input module support for small...
### Checklist / 检查清单 - [x] I have searched existing issues, and this is a new feature request. / 我已经搜索过现有的 issues,确认这是一个新的 Feature Request。 ### Feature Request Description / Feature Request...
### Checklist / 检查清单 - [x] I have searched existing issues, and this is a new question or discussion topic. / 我已经搜索过现有的 issues,确认这是一个新的问题与讨论。 ### Question Description / 问题描述 hello 我跑glm5.1...
### Checklist / 检查清单 - [x] I have searched existing issues, and this is a new bug report. / 我已经搜索过现有的 issues,确认这是一个新的 bug report。 ### Bug Description / Bug 描述 ##...
### Checklist / 检查清单 - [x] I searched the repository's public issues and PRs for absorbed MLA / KV-up / LoRA gradient reports. I did not find an exact duplicate...