已合并
Rewrite cuda to npu in backend string of init_process_group #39195
yinglinwei创建于 6月24日
Rewrite cuda to npu in backend string of init_process_group #39195
已合并
yinglinwei创建于 6月24日
yinglinwei
6月24日

【合入来源】

如有社区issue,请关联issue链接
请勿携带内部流程信息(需求链接、问题单、内部issue等)

https://gitcode.com/Ascend/pytorch/issues/2494

【修改方案】

请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列
如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容)

该修改将 backend 自动映射从仅支持通信后端替换(nccl→hccl),扩展为同时支持设备类型替换(cuda→npu)

【资料变更】

请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及”

不涉及

【接口变更】

请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及”

不涉及

【功能验证】

说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤
新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图
image.png
image.png

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 yinglinwei 的贡献)
Yyinglinwei
6月24日 创建了 pull request,commit 2d52bfd6
ascend-robotascend-robot成员
6月24日 添加了label:ascend-cla/yes
ascend-robotascend-robot成员
6月24日 添加了label:needs-issue
ascend-robot
ascend-robot成员
6月24日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
test 王朝, 陈豪 (2/2) 王朝, 陈豪 (2/1)
torch_npu/contrib/transfer_to_npu.py 王朝, 陈豪 (2/2) 王朝, 陈豪 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

ylw1234, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
此处折叠了85条消息 查看更多
chenhao_1209成员
6月26日 评论:

/approve

likedislike
ascend-robot
ascend-robot成员
6月26日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
贺坤坤

likedislike
ascend-robotascend-robot成员
6月26日 添加了label:lgtm
ascend-robotascend-robot成员
6月26日 合入了pull request
ascend-robot
ascend-robot成员
6月26日 评论:

Pull Request 已合并或已关闭。

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike