已合并
test: add isinf_maskedfill_test_e2e to backend E2E test execution list(#160) #1170
test: add isinf_maskedfill_test_e2e to backend E2E test execution list(#160) #1170
已合并
Jett_Woo创建于 7月2日
Jett_Woo成员
7月2日

Pull Request

描述

将 isinf_maskedfill_test_e2e 添加到 backend E2E 测试执行列表中,作为 IsInf/MaskedFill 生成 kernel 的 compile-only 覆盖。

说明:当前 CPU simulator 对 ReinterpretCast aliasing + Abs 路径存在已知模拟限制,因此该 target 的 gtest 执行阶段会 GTEST_SKIP(),不作为正确性验证;它用于保证 CI 中生成的 isinf_maskedfill_test_kernel.cpp 可以被编译,覆盖 CANN 9.1.0 下 IsInfExtend<float>/Abs<int> 类编译兼容问题。

正确性验证记录:真实 910B3 设备上使用 PyTorch + Autofuse 的 IsInf/LogicalOr/MaskedFill 场景验证通过,输出 Max diff: 0.0、Mismatch count: 0 / 6400、PASSED: All results match!。问题原因和验证记录见 Issue #160。

变更类型

关联的Issue

关联 Issue #160。

如何测试

  1. 使用 CANN 9.1.0 + 910B ops 环境编译:cmake --build build --target isinf_maskedfill_test_e2e -j 8。
  2. 编译通过,最终输出 [100%] Built target isinf_maskedfill_test_e2e。
  3. 该 target 当前仅提供 compile-only 覆盖,不执行 CPU simulator 正确性验证。

核对清单

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 Jett_Woo 的贡献)
JJett_Woo成员
7月2日 创建了 pull request,commit 031f7919
JJett_Woo成员
7月2日 关联了issue:[Requirement|需求建议]: 有两个elementwise的算子,希望能支持,IsInf, MaskedFill
CANN-robotCANN-robot成员
7月2日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
7月2日 评论:

CLA Signature Pass

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

likedislike
CANN-robot
CANN-robot成员
7月2日 评论:

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-cann/graph-autofusion ✅ zhanj, zhang_shengjie, xchu42 (3/2) ✅ zhanj (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
此处折叠了247条消息 查看更多
zhang_shengjie成员
7月6日 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
7月6日 添加了label:lgtm
zhanj
zhanj成员
7月7日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
7月7日 添加了label:approved
CANN-robotCANN-robot成员
7月7日 合入了pull request