已合并
[docs] Add constraint description for torch.cdist #31468
wangzili121创建于 3月6日
[docs] Add constraint description for torch.cdist #31468
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 wangzili121 的贡献)3月6日 创建了 pull request,commit f044c3a4
AtlasAccount
3月6日 评论:
3月6日 评论:
ascend-robot
3月6日 评论:
3月6日 评论:
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 |
|---|---|---|
| docs | ✅ zqwenn, molly123321 (2/2) | ✅ zqwenn (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


3月6日 添加了label:ascend-cla/yes
wangzili121
3月6日 评论:
3月6日 评论:
compile


3月6日 添加了label:ci-pipeline-running
ascend-robot
3月6日 评论:
3月6日 评论:
流水线 PR-pipeline_pytorch#9611 运行中
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | 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 | 🕚 | >>> |


wangzili121
3月9日 评论:
3月9日 评论:
compile


Wwangzili121
3月9日 update merge request[project id: 7404318, iid: 31468, commit_id: d4aa842e5e9229d3d0c80a4b0386f63479f28f54] virtual merging success
3月9日 update merge request[project id: 7404318, iid: 31468, commit_id: d4aa842e5e9229d3d0c80a4b0386f63479f28f54] virtual merging success
3月9日 强制推送 1 个提交:d47599be-[docs] Add constraint description for torch.cdist
Wwangzili121
3月9日 update merge request[project id: 7404318, iid: 31468, commit_id: 31dcd42e5b7172e14d3c06afdc16cf4e7dbd4c4f] virtual merging success
3月9日 update merge request[project id: 7404318, iid: 31468, commit_id: 31dcd42e5b7172e14d3c06afdc16cf4e7dbd4c4f] virtual merging success
ascend-robot
3月9日 评论:
3月9日 评论:
3月9日 删除了label:ci-pipeline-running
3月9日 添加了label:ci-pipeline-failed
3月9日 删除了label:ci-pipeline-failed
3月9日 添加了label:ci-pipeline-running
molly123321
3月9日 评论:
3月9日 评论:
/lgtm


3月9日 删除了label:ci-pipeline-running
此处折叠了12条事件消息 查看更多
3月9日 添加了label:ci-pipeline-failed
ascend-robot
3月9日 评论:
3月9日 评论:
流水线 PR-pipeline_pytorch#9763 (重试第5次)运行失败
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | 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 | ❌ | >>> |


wangzili121
3月9日 评论:
3月9日 评论:
compile


3月9日 删除了label:ci-pipeline-failed
3月9日 添加了label:ci-pipeline-running
3月9日 删除了label:ci-pipeline-running
3月9日 添加了label:ci-pipeline-passed
ascend-robot
3月9日 评论:
3月9日 评论:
流水线 PR-pipeline_pytorch#9793 已完成
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | 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 | ✅ | >>> |


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


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


3月12日 合入了pull request
【合入来源】
【修改方案】
当前aclnnCdist在入参p=2.0时仅支持compute_mode=2(donot_use_mm_for_euclid_dist),传入默认值use_mm_for_euclid_dist_if_necessary会报错,PTA层临时增加参数映射将其改为aclnn支持的compute_mode值,因此添加相应约束说明,待算子支持完备再恢复。
【资料变更】
涉及
【接口变更】
当入参p=2.0时,torch.cdist仅支持compute_mode='donot_use_mm_for_euclid_dist',传入其他值会被更改为'donot_use_mm_for_euclid_dist'
【功能验证】
已验证,当前p=2时传入三种compute_mode值都能正常运行
【CheckList】