已合并
[2.8.0]fix aoe ut #27468
daifu1234567创建于 2025年12月4日
[2.8.0]fix aoe ut #27468
已合并
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 16731781
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 wangchao430, yangkaixin, rain-666, li_jing_hw, liwei386 medivh-x, aichunzheng, shaoyf, rain-666, wasd1111222
likedislike
ascend-robotascend-robot成员
2025年12月4日 添加了label:stat/needs-squash
ascend-robotascend-robot成员
2025年12月4日 添加了label:ascend-cla/yes
openLiBingCI成员
2025年12月4日 评论:

问题/功能描述

本次PR主要包含两项变更:一是在单元测试中为特定测试类添加了设备支持限制,确保其仅在指定硬件上运行,以增强测试的精确性和环境控制;二是移除了一个已注册的算子分解实现,以清理或替换该算子的底层实现方式。

修改方案描述

  1. 在测试文件 test_aoe.py 中,为 TestAoe 测试类添加了 @SupportedDevices(['Ascend910A']) 装饰器,明确该测试用例仅支持在 Ascend910A 设备上执行。
  2. 在分解文件 decomposition.py 中,删除了针对 aten.scatter.src 算子的自定义分解函数 scatter_src,该函数原本将 scatter 操作分解为一系列基础运算。此举旨在清理或替换该算子的实现方式。
likedislike
Ddaifu1234567成员
2025年12月4日 update merge request[project id: 7404318, iid: 27468, commit_id: 0d969eaf5a6d52377960e686ff1c12afed6c9efa] virtual merging success
Ddaifu1234567成员
2025年12月4日 强制推送  126 个提交:bb27cee2-125 commits from branch v2.8.012c9a22f-fix aoe ut
Ddaifu1234567成员
2025年12月4日 update merge request[project id: 7404318, iid: 27468, commit_id: a742f421568df9a63676cbff466f54c89b974996] virtual merging success
ascend-robot
ascend-robot成员
2025年12月4日 评论:

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

Module List Reviewers Committers
repo-Ascend/pytorch yuhaiyan, duchengkun, culechan, yangkaixin, rain-666 yanpengquan, rain-666, wasd1111222, zqwenn, liwei386
likedislike
ascend-robotascend-robot成员
2025年12月4日 删除了label:stat/needs-squash
daifu1234567成员
2025年12月4日 评论:

compile

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
AtlasAccountAtlasAccount成员
2025年12月4日 添加了label:ci-pipeline-failed
AtlasAccount
AtlasAccount成员
2025年12月4日 评论:

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

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