# PR #6816 完整报告

- 仓库：`verl-project/verl`
- 标题：[ci] fix: fix Megatron-Bridge version in e2e_ppo_trainer_megatron_sglang_ascend.yml and update megatron for sglang ascend
- 合并时间：2026-06-23 14:09
- 原文链接：http://prhub.com.cn/verl-project/verl/pull/6816

---

## 执行摘要
此 PR 修复了 Ascend CI 中 Megatron 和 Megatron-Bridge 的版本问题，更新了 Dockerfile 和 workflow 配置，确保 e2e 测试能够正确运行。

## 功能与动机
修复 Ascend CI 中 Megatron 和 Megatron-Bridge 的版本不匹配问题，使 e2e_ppo_trainer_megatron_sglang_ascend 测试能够通过。

## 实现拆解

1. **更新 Dockerfile**：在 `docker/ascend/Dockerfile.ascend.sglang_8.5.0_a2` 和 `a3` 中，将 MindSpeed 版本从 `2.3.0_core_r0.12.1` 更新为 `core_r0.16.0`，将 Megatron-LM 版本从 `core_v0.12.1` 更新为 `core_r0.16.0`。
2. **修复 CI workflow**：在 `e2e_ppo_trainer_megatron_sglang_ascend.yml` 中，将 Megatron-Bridge 安装命令从 pip 包改为从指定 commit 安装：`git+https://github.com/NVIDIA-NeMo/Megatron-Bridge.git@0a21da4`。
3. **修复 typo**：在 `e2e_ppo_trainer_megatron_sglang_2_ascend.yml` 中，补全了 `.yml` 后缀。

### 无需展示。

## 评论区精华
无 review 评论。

## 风险与影响
- **风险**：版本升级可能导致与其他依赖不兼容，但变动较小，风险可控。
- **影响**：仅影响 Ascend CI 环境，确保测试使用正确版本。

## 关联脉络
与 PR #6551 类似，都属于依赖版本升级，确保 CI 稳定性。