已合并
refactor: replace hard-coded dispatch with Registry + Template Method for NPU Graph op handlers #31270
suhaibo创建于 3月3日
refactor: replace hard-coded dispatch with Registry + Template Method for NPU Graph op handlers #31270
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 suhaibo 的贡献)AtlasAccount
3月3日 评论:
3月3日 评论:
ascend-robot
3月3日 评论:
3月3日 评论:
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 | ✅ adrian07110, zqwenn, wangmin0104 (3/2) | ✅ adrian07110, zqwenn (2/1) |
| torch_npu/npu | ✅ zqwenn, wangmin0104 (2/2) | ✅ zqwenn (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


3月3日 添加了label:ascend-cla/yes
ascend-robot
3月3日 评论:
3月3日 评论:
3月3日 添加了label:ci-pipeline-running
AtlasAccount
3月3日 评论:
3月3日 评论:
/torch_npu/npu/graphs.py


3月3日 删除了label:ci-pipeline-running
3月3日 添加了label:ci-pipeline-failed
ascend-robot
3月3日 评论:
3月3日 评论:
流水线 PR-pipeline_pytorch#8944 运行失败
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_X86 | ✅ | >>> |
| Build_LibTorch | ✅ | >>> | |
| Build_ARM | ✅ | >>> | |
| Build_ARM_inductor | 🛑 | >>> | |
| Build_X86_torchair | 🛑 | >>> | |
| Build_ARM_torchair | 🛑 | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| check_error | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_X86_Part_01 | 🛑 | >>> |
| UT_X86_Part_02 | 🛑 | >>> | |
| UT_ARM_A2_Part_01 | ✅ | >>> | |
| UT_ARM_A2_Part_02 | ❌ | >>> | |
| UT_ARM_A3_Part_01 | 🛑 | >>> | |
| UT_ARM_A3_Part_02 | 🛑 | >>> | |
| UT_DIST_X86_Part_01 | 🛑 | >>> | |
| UT_DIST_X86_Part_02 | 🛑 | >>> | |
| UT_DIST_X86_Part_03 | 🛑 | >>> | |
| UT_DIST_X86_Part_04 | 🛑 | >>> | |
| UT_inductor_Part_01 | 🛑 | >>> | |
| UT_inductor_Part_02 | 🛑 | >>> | |
| UT_inductor_Part_03 | 🛑 | >>> | |
| UT_inductor_Part_04 | 🛑 | >>> | |
| 流水线 | PR-pipeline_pytorch | ❌ | >>> |


AtlasAccount
3月3日 评论:
3月3日 评论:
/torch_npu/npu/graphs.py


3月3日 删除了label:ci-pipeline-failed
3月3日 添加了label:ci-pipeline-running
3月3日 删除了label:ci-pipeline-running
3月3日 添加了label:ci-pipeline-passed
ascend-robot
3月3日 评论:
3月3日 评论:
流水线 PR-pipeline_pytorch#8976 已完成
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_X86 | ✅ | >>> |
| Build_LibTorch | ✅ | >>> | |
| Build_ARM | ✅ | >>> | |
| Build_ARM_inductor | 🛑 | >>> | |
| Build_X86_torchair | 🛑 | >>> | |
| Build_ARM_torchair | 🛑 | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| check_error | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_X86_Part_01 | 🛑 | >>> |
| UT_X86_Part_02 | 🛑 | >>> | |
| UT_ARM_A2_Part_01 | ✅ | >>> | |
| UT_ARM_A2_Part_02 | ✅ | >>> | |
| UT_ARM_A3_Part_01 | 🛑 | >>> | |
| UT_ARM_A3_Part_02 | 🛑 | >>> | |
| UT_DIST_X86_Part_01 | 🛑 | >>> | |
| UT_DIST_X86_Part_02 | 🛑 | >>> | |
| UT_DIST_X86_Part_03 | 🛑 | >>> | |
| UT_DIST_X86_Part_04 | 🛑 | >>> | |
| UT_inductor_Part_01 | 🛑 | >>> | |
| UT_inductor_Part_02 | 🛑 | >>> | |
| UT_inductor_Part_03 | 🛑 | >>> | |
| UT_inductor_Part_04 | 🛑 | >>> | |
| 流水线 | PR-pipeline_pytorch | ✅ | >>> |


ZhihaoLi
3月4日 评论:
3月4日 评论:
/approve


zhangqiongwen
3月4日 评论:
3月4日 评论:
/approve


3月4日 添加了label:approved
wangmin0104
3月4日 评论:
3月4日 评论:
/lgtm


3月4日 添加了label:lgtm
ascend-robot
3月4日 评论:
3月4日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: zqwenn, adrian07110.
Reviewers who wrote a comment of /lgtm are: zqwenn, wangmin0104, adrian07110.


3月4日 合入了pull request
【合入来源】
【修改方案】
【资料变更】
【接口变更】
【功能验证】
【CheckList】