# PR #6524 完整报告

- 仓库：`verl-project/verl`
- 标题：[ci] fix: remove the uninstall of triton in ascend docker
- 合并时间：2026-05-28 21:38
- 原文链接：http://prhub.com.cn/verl-project/verl/pull/6524

---

## 执行摘要

该 PR 从两个 Ascend Dockerfile 中移除了安装 Megatron 后卸载 triton 的步骤。变更极小（每个文件删除 2 行），属于 Docker 镜像构建流程的清理工作。

## 功能与动机

PR body 明确指出目的："remove the uninstall of triton in ascend docker"。原先的卸载操作用于避免某些第三方包安装的 triton 版本冲突，但在当前 Ascend 环境中已不再需要，因此移除。

## 实现拆解

1. 在 `docker/ascend/Dockerfile.ascend_9.0.0_a2` 中，删除以下两行：
 - `# Remove existing triton installed by some third-party packages`
 - `pip uninstall -y triton`
2. 在 `docker/ascend/Dockerfile.ascend_9.0.0_a3` 中，执行完全相同的删除操作。

两处修改均位于安装 Megatron 之后、安装 transformers 之前，不影响其他步骤。

### 无可用关键源码片段，仅涉及 Dockerfile 中两行删除。

## 评论区精华

无实质讨论。gemini-code-assist[bot] 自动评论客观描述变更，未提出反馈；wucong25 直接批准。

## 风险与影响

- **风险**：极低。移除卸载命令后，若将来第三方包引入的 triton 版本与 Ascend 环境不兼容，可能需重新添加，但当前已验证无此问题。
- **影响**：仅影响 Ascend 镜像构建过程，镜像构建可能略微加速，对运行时无任何影响。

## 关联脉络

该 PR 与近期 Ascend 镜像相关 PR（如 #6816、#6551）同属基础设施清理和 CI 稳定性改进，表明 Ascend 环境正逐步成熟和简化。