已合并
test: remove test_norm_complex_input_check #5186
21xiu创建于 6月15日
test: remove test_norm_complex_input_check #5186
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 21xiu 的贡献)ascend-robot
6月15日 评论:
6月15日 评论:
6月15日 添加了label:ascend-cla/yes
ascend-robot
6月15日 评论:
6月15日 评论:
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 |
|---|---|---|
| repo-Ascend/op-plugin | ✅ htchu, culechan (2/2) | ✅ htchu (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
xiu_21, thanks for your pull request. All authors of the commits have signed the CLA. 👍


6月15日 添加了label:needs-issue
ascend-robot
6月15日 评论:
6月15日 评论:
Linking Issue Notice
@xiu_21 , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .


ascend-robot
6月15日 评论:
6月15日 评论:
Ascend docs pipeline is running...


6月15日 添加了label:docs-ci-pipeline-running
21xiu
6月15日 评论:
6月15日 评论:
compile


ascend-robot
6月15日 评论:
6月15日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


6月15日 删除了label:docs-ci-pipeline-running
6月15日 添加了label:docs-ci-pipeline-success
6月15日 添加了label:ci-pipeline-running
ascend-robot
6月15日 评论:
6月15日 评论:
Ascend docs pipeline is running...


6月15日 删除了label:docs-ci-pipeline-success
6月15日 添加了label:docs-ci-pipeline-running
ascend-robot
6月15日 评论:
6月15日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


6月15日 删除了label:docs-ci-pipeline-running
6月15日 添加了label:docs-ci-pipeline-success
6月15日 删除了label:ci-pipeline-running
ascend-robot
6月15日 评论:
6月15日 评论:
流水线 PR-pipeline_op-plugin#1915 [ commitID:ea248a4f ] 运行失败
>>>代码风格自动修复执行成功(无修复内容)
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_master_ARM | ✅ | >>> |
| Build_v2_7_1_ARM | ✅ | >>> | |
| Build_v2_9_0_ARM | ✅ | >>> | |
| Build_v2_10_0_ARM | ✅ | >>> | |
| Build_v2_11_0_ARM | ✅ | >>> | |
| Build_v2_12_0_ARM | ✅ | >>> | |
| Build_master_x86 | ✅ | >>> | |
| Build_v2_7_1_x86 | ✅ | >>> | |
| Build_v2_9_0_x86 | ✅ | >>> | |
| Build_v2_10_0_x86 | ✅ | >>> | |
| Build_v2_11_0_x86 | ✅ | >>> | |
| Build_v2_12_0_x86 | ✅ | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| CodeCheck_pre-commit | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_master_ARM_01 | ❌ | >>> |
| UT_v2_7_1_ARM | ✅ | >>> | |
| UT_v2_9_0_ARM | ✅ | >>> | |
| UT_v2_10_0_ARM | ✅ | >>> | |
| UT_v2_11_0_ARM | ✅ | >>> | |
| UT_v2_12_0_ARM | ✅ | >>> | |
| 流水线 | PR-pipeline_op-plugin | ❌ | >>> |
- compile : 运行流水线
- retry : 重试流水线所有失败子任务
- retry <任务名> : 仅重试指定失败子任务
- stop : 停止流水线


6月15日 添加了label:ci-pipeline-failed
21xiu
6月15日 评论:
6月15日 评论:
retry


ascend-robot
6月15日 评论:
6月15日 评论:
重试流水线失败:PR-pipeline_op-plugin 仅失败状态流水线支持重试操作。


6月15日 删除了label:ci-pipeline-failed
6月15日 添加了label:ci-pipeline-passed
6月15日 添加了label:approved
6月15日 关联了issue:test: remove test_norm_complex_input_check
6月15日 删除了关联的issue:test: remove test_norm_complex_input_check
6月15日 关联了issue:test: remove test_norm_complex_input_check
6月15日 删除了label:needs-issue
culechan
6月15日 评论:
6月15日 评论:
/lgtm


6月15日 添加了label:lgtm
6月15日 关闭了关联的issue
6月15日 合入了pull request
【合入来源】
【修改方案】
删除无效测试用例。
test_norm_complex_input_check旨在检查acl_op::linalg_vector_norm中linalg_norm_out_npu_nocheck里的self(tensor)类型是否是complex,若是则报RuntimeError(linalg_vector_norm does not support complex numbers. ),但是现在无条件可以进入该检查:
1)当前设备默认走aclnn
2)若使用torch.npu.set_compile_mode(jit_compile=True)使其进入aclops,也会在创建输出tensor的时候在NPUNativeFunctions::empty_with_format里检查dtype是否是complex,若是则报RuntimeError(Current settings do not support Complex dtype. Please try again with jit_compile=False.)
【资料变更】
不涉及
【接口变更】
不涉及
【功能验证】
删除无效测试用例
【CheckList】