已合并
test: remove test_norm_complex_input_check #5186
21xiu创建于 6月15日
test: remove test_norm_complex_input_check #5186
已合并
21xiu创建于 6月15日
21xiu
21xiu成员
6月15日

【合入来源】

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

【修改方案】

删除无效测试用例。
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】

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

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 21xiu 的贡献)
21xiu21xiu成员
6月15日 创建了 pull request,commit c5073b68
ascend-robotascend-robot成员
6月15日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
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 /approve or /lgtm
  • Commenting /approve implies 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. 👍

likedislike
ascend-robotascend-robot成员
6月15日 添加了label:needs-issue
ascend-robot
ascend-robot成员
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 .

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

Ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
6月15日 添加了label:docs-ci-pipeline-running
21xiu
21xiu成员
6月15日 评论:

compile

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

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
6月15日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
6月15日 添加了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
6月15日 添加了label:ci-pipeline-running
ascend-robot
ascend-robot成员
6月15日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
6月15日 删除了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
6月15日 添加了label:docs-ci-pipeline-running
ascend-robot
ascend-robot成员
6月15日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
6月15日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
6月15日 添加了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
6月15日 删除了label:ci-pipeline-running
ascend-robot
ascend-robot成员
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 >>>
此流水线已支持下列评论快捷指令,仅PR创建者评论有效
  • compile : 运行流水线
  • retry : 重试流水线所有失败子任务
  • retry <任务名> : 仅重试指定失败子任务
  • stop : 停止流水线
likedislike
ascend-robotascend-robot成员
6月15日 添加了label:ci-pipeline-failed
21xiu
21xiu成员
6月15日 评论:

retry

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

重试流水线失败:PR-pipeline_op-plugin 仅失败状态流水线支持重试操作。

likedislike
ascend-robotascend-robot成员
6月15日 删除了label:ci-pipeline-failed
ascend-robotascend-robot成员
6月15日 添加了label:ci-pipeline-passed
htchu成员
6月15日 评论:

/approve

likedislike
ascend-robotascend-robot成员
6月15日 添加了label:approved
21xiu21xiu成员
6月15日 关联了issue:test: remove test_norm_complex_input_check
21xiu21xiu成员
6月15日 删除了关联的issue:test: remove test_norm_complex_input_check
21xiu21xiu成员
6月15日 关联了issue:test: remove test_norm_complex_input_check
ascend-robotascend-robot成员
6月15日 删除了label:needs-issue
culechan
culechan成员
6月15日 评论:

/lgtm

likedislike
ascend-robotascend-robot成员
6月15日 添加了label:lgtm
ascend-robotascend-robot成员
6月15日 关闭了关联的issue
ascend-robotascend-robot成员
6月15日 合入了pull request