This issue tracks the development of the `megatron` backend for SkyRL for large scale MoE training. Megatron-Core MoE tech report: https://arxiv.org/pdf/2603.07685 Prior tracking issue: https://github.com/NovaSky-AI/SkyRL/issues/203 ## New Features - [x] [P0] Support R3 - Rollout Routing Replay (https://github.com/NovaSky-AI/SkyRL/issues/815) - [ ] [P2] Megatron dynamic context parallel support (https://github.com/NovaSky-AI/SkyRL/issues/1019) - [x] [P2] Enabling `TransformerConfig.cp_comm_type="a2a"` for ulysses style sequence parallelism in megatron https://github.com/NovaSky-AI/SkyRL/pull/1751 - [x] [P2] ~~Support Virtual Pipeline Parallel for improving training throughput~~ - marked as not planned for now - [ ] [P2] Support megatron native FSDP - [x] [P1] Enable dynamic batch sizing in megatron #1477 ## Megatron + LoRA - [ ] [P1] Support in memory LoRA only weight sync for megatron + lora (https://github.com/NovaSky-AI/SkyRL/issues/1336) - [x] [P1] LoRA rank normalization via Megatron-Bridge (https://github.com/NVIDIA-NeMo/Megatron-Bridge/issues/2964) - [x] [P0] Improve LoRA checkpointing support and fix/note upstream bugs (https://github.com/NVIDIA-NeMo/Megatron-Bridge/issues/2240) ## Bugs/Improvements - [ ] [P0] Add a DAPO recipe with MoE + megatron to CI: https://github.com/NovaSky-AI/SkyRL/issues/1322 - [ ] [P1] Debug GLM + LoRA train/infer mismatch issue
This issue tracks the development of the
megatronbackend for SkyRL for large scale MoE training.Megatron-Core MoE tech report: https://arxiv.org/pdf/2603.07685
Prior tracking issue: #203
New Features
TransformerConfig.cp_comm_type="a2a"for ulysses style sequence parallelism in megatron [megatron] compute logprobs/entropy on CP sharded logits + fix CP loss scaling #1751Support Virtual Pipeline Parallel for improving training throughput- marked as not planned for nowMegatron + LoRA
Bugs/Improvements