已合并
[2.9.0]fix aoe ut #27469
daifu1234567创建于 2025年12月4日
[2.9.0]fix aoe ut #27469
已合并
daifu1234567创建于 2025年12月4日
daifu1234567成员
2025年12月4日

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind bug

What does this PR do / why do we need it:
需要走aclop才会有aoe的dump图,现在conv2d需要切aclnn,所以用例并不会保存aoe图。

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewers:

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 daifu1234567 的贡献)
Ddaifu1234567成员
2025年12月4日 创建了 pull request,commit e446fb4f
ascend-robot
ascend-robot成员
2025年12月4日 评论:

Thank your for your pull-request.

The full list of commands accepted by me can be found at here.

You can get sig-info at here

likedislike
AtlasAccount
AtlasAccount成员
2025年12月4日 评论:
ascend-robot
ascend-robot成员
2025年12月4日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
repo-Ascend/pytorch yuhaiyan, duchengkun, culechan, ShaoFeifan, wangchao430 li_jing_hw, yangkaixin, wangchao285, aichunzheng, shaoyf
likedislike
ascend-robotascend-robot成员
2025年12月4日 添加了label:ascend-cla/yes
openLiBingCI成员
2025年12月4日 评论:

问题/功能描述

为NPU的AOE测试类添加设备支持注解,以明确指定该测试用例仅适用于特定型号的Ascend AI处理器(Ascend910A)。这解决了测试用例在非目标设备上可能产生不必要执行或错误的问题,确保了测试的准确性和针对性。

修改方案描述

在测试类 TestAoe 的定义前添加了 @SupportedDevices(['Ascend910A']) 装饰器。该修改通过导入并使用 torch_npu.testing.common_utils 中的 SupportedDevices 类,实现了对测试用例运行设备的精确限定,有助于测试框架在运行时根据当前设备环境智能地跳过不支持的测试。

likedislike
Ddaifu1234567成员
2025年12月4日 update merge request[project id: 7404318, iid: 27469, commit_id: 566ca37b600cd1bca9049eb193bb9155d9aa25ce] virtual merging success
Ddaifu1234567成员
2025年12月4日 强制推送  1 个提交:de53f4d4-fix aoe ut
Ddaifu1234567成员
2025年12月4日 update merge request[project id: 7404318, iid: 27469, commit_id: f4a91181e26ca057f53fff5f6de9c5fc51b89b4e] virtual merging success
ascend-robot
ascend-robot成员
2025年12月4日 评论:

以下是根据您提交的修改文件推荐的Reviewer和Committer序列,需各模块评审通过后方可合入

Module List Reviewers Committers
repo-Ascend/pytorch wangqiang160, chuboning, kuhn7, huangyunlong2022, SCh_zx wangchao285, li_jing_hw, yangkaixin, medivh-x, aichunzheng
likedislike
ascend-robot
ascend-robot成员
2025年12月4日 评论:

CLA Signature Pass

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

likedislike
daifu1234567成员
2025年12月4日 评论:

compile

likedislike
AtlasAccountAtlasAccount成员
2025年12月4日 添加了label:ci-pipeline-failed
Ddaifu1234567成员
2025年12月4日 修改标题为 “[2.9.0]fix aoe ut”,原标题为“[2.9.0]fix moe ut”
AtlasAccount
AtlasAccount成员
2025年12月4日 评论:

流水线任务触发成功,正在执行,请稍候。 任务链接[4d00f44edb0e446baf1896489044b5a7]

likedislike
AtlasAccountAtlasAccount成员
2025年12月4日 删除了label:ci-pipeline-failed
AtlasAccountAtlasAccount成员
2025年12月4日 添加了label:ci-pipeline-running
AtlasAccount
AtlasAccount成员
2025年12月4日 评论:

get-log

likedislike
AtlasAccountAtlasAccount成员
2025年12月4日 删除了label:ci-pipeline-running
AtlasAccountAtlasAccount成员
2025年12月4日 添加了label:ci-pipeline-running
AtlasAccountAtlasAccount成员
2025年12月4日 删除了label:ci-pipeline-running
AtlasAccountAtlasAccount成员
2025年12月4日 添加了label:ci-pipeline-passed
AtlasAccount
AtlasAccount成员
2025年12月4日 评论:
检查项 状态 日志 产物
code_check >>> N/A
sca >>> N/A
check_error >>> N/A
anti_poison >>> N/A
Build_X86_USE_CXX_ABI_GCC13 >>> >>>
Build_LibTorch_USE_CXX_ABI_GCC13 >>> >>>
Build_ARM_USE_CXX_ABI_GCC13 >>> >>>
UT_X86_Part_01 >>> N/A
UT_X86_Part_02 >>> N/A
openlibing链接 点此跳转
likedislike
AtlasAccountAtlasAccount成员
2025年12月4日 删除了label:ci-pipeline-passed
AtlasAccountAtlasAccount成员
2025年12月4日 添加了label:ci-pipeline-passed
Ddaifu1234567成员
2025年12月4日 修改了pull request 的描述
haiyan8
haiyan8
2025年12月4日 评论:

/lgtm

likedislike
ascend-robotascend-robot成员
2025年12月4日 添加了label:lgtm
zhangqiongwen成员
2025年12月4日 评论:

/approve

likedislike
shaoyf成员
2025年12月4日 评论:

/approve

likedislike
ascend-robotascend-robot成员
2025年12月4日 添加了label:approved
ascend-robot
ascend-robot成员
2025年12月4日 评论:

Review Guide

This Pull-Request Passes Review.
Committers who writed a comment of /approve are: zqwenn, shaoyf.
Reviewers who writed a comment of /lgtm are: shaoyf, yuhaiyan, zqwenn.

likedislike
ascend-robotascend-robot成员
2025年12月4日 合入了pull request