megatron:Update megatron-lm to `core_r0.11.0` (#392)
# Support Megatron mcore 0.11 ## Description This PR introduces official support for Megatron mcore 0.11 with the following updates: - Upgraded Megatron to version `core_r0.11.0` - Applied compatibility patch `patches/mcore_r0.11.patch` - Removed legacy version support for cleaner implementation Special thanks to @chendong-1998 for: - Original Megatron upgrade from 0.4 to 0.6 (#93f6a7e) ## Compatibility Notes Current implementation requires careful handling due to dependency conflicts: - `megatron-core==0.11.0` requires torch>=2.6 - `vllm==0.6.3` requires torch==2.4 Installation constraints: 1. Must use vllm's torch dependency (2.4) as baseline 2. Do NOT run `pip install -e .` in mcore directory (will upgrade torch to 2.6) 3. Apply compatibility patch manually after installation ## Testing ### test with `verl/examples/ppo_trainer/run_deepseek_megatron.sh`  --------- Signed-off-by: chendong-1998 <chendong136@huawei.com> Co-authored-by: chendong-1998 <chendong136@huawei.com> Co-authored-by: gaoziyuan <gaoziyuan.955@bytedance.com> Co-authored-by: Sion Gao <gaoziyuan19@mails.ucas.ac.cn>
Showing
docker/Dockerfile.megatron
0 → 100644
Please
register
or
sign in
to comment