已合并
Skip when device name is Ascend910B4 #30128
Skip when device name is Ascend910B4 #30128
已合并
haiyan8创建于 1月28日
haiyan8
haiyan8
1月28日

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
/kind task
/kind feature

What does this PR do / why do we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewers:

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 haiyan8 的贡献)
haiyan8haiyan8
1月28日 创建了 pull request,commit 5c4a8e6c
ascend-robot
ascend-robot成员
1月28日 评论:

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

likedislike
ascend-robot
ascend-robot成员
1月28日 评论:

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

Module List Reviewers Committers
repo-Ascend/pytorch liwei386, qinchuanyu, SCh_zx, anyrenwei, shaoyf yanpengquan, yangkaixin, weizhan4, liwei386, chenhao_1209
likedislike
ascend-robotascend-robot成员
1月28日 添加了label:ascend-cla/yes
AtlasAccount
AtlasAccount成员
1月28日 评论:

问题/功能描述

为解决在特定硬件设备(Ascend910B4)上执行内存管理相关测试用例时可能出现的兼容性或稳定性问题,本次PR为相关测试添加了条件跳过逻辑。该修改旨在提升测试套件在不同硬件环境下的健壮性,避免因设备差异导致测试失败。

修改方案描述

在测试文件 test/npu/test_expandable_segments.py 中,新增了获取设备名称的代码,并在 test_empty_virt_addr_cache 测试方法上添加了条件跳过装饰器。当检测到当前设备为 “Ascend910B4” 时,该测试用例将被自动跳过。此修改仅涉及测试代码,不涉及生产逻辑,风险等级低。

likedislike
haiyan8
haiyan8
1月28日 评论:

compile

likedislike
ascend-robotascend-robot成员
1月28日 添加了label:ci-pipeline-running
ascend-robotascend-robot成员
1月28日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
1月28日 添加了label:ci-pipeline-failed
ascend-robot
ascend-robot成员
1月28日 评论:
流水线 PR-pipeline_pytorch#4951 运行失败
阶段 任务名 状态 详情
编译构建 Build_X86 🕚 >>>
Build_LibTorch 🕚 >>>
Build_ARM 🕚 >>>
Build_ARM_inductor 🕚 >>>
Build_X86_py311 🕚 >>>
Build_ARM_py311 🕚 >>>
dist_test_or_not 🕚 >>>
恶意代码检查 Antipoison ✅ >>>
编码安全与规范检查 CodeCheck ❌ >>>
check_error ✅ >>>
开源片段检查 SCA ✅ >>>
开发者测试 UT_DIST_X86 🕚 >>>
UT_X86_Part_01 🕚 >>>
UT_X86_Part_02 🕚 >>>
UT_ARM_A2_Part_01 🕚 >>>
UT_ARM_A2_Part_02 🕚 >>>
UT_inductor_arm 🕚 >>>
流水线 PR-pipeline_pytorch ❌ >>>
likedislike
haiyan8haiyan8
1月28日 预合并成功(commit_id: fa93490a49164dcf3027f91656cdcf1672ecfb5d)
haiyan8haiyan8
1月28日 推送  1 个提交:bf148622-update: 更新文件 test_expandable_segments.py
haiyan8haiyan8
1月28日 预合并成功(commit_id: bd55f10c9d8ffc72a0daf488947f13bc86cdde8a)
ascend-robot
ascend-robot成员
1月28日 评论:

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

Module List Reviewers Committers
repo-Ascend/pytorch liwei386, ShaoFeifan, zhanj, zhaozhijie, yangkaixin liwei386, yanpengquan, rain-666, wasd1111222, li_jing_hw
likedislike
ascend-robotascend-robot成员
1月28日 添加了label:stat/needs-squash
ascend-robot
ascend-robot成员
1月28日 评论:

CLA Signature Pass

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

likedislike
AtlasAccountAtlasAccount成员
1月28日 删除了label:ci-pipeline-failed
AtlasAccountAtlasAccount成员
1月28日 添加了label:ci-pipeline-failed
haiyan8
haiyan8
1月28日 评论:

compile

likedislike
ascend-robotascend-robot成员
1月28日 删除了label:ci-pipeline-failed
ascend-robotascend-robot成员
1月28日 添加了label:ci-pipeline-running
ascend-robotascend-robot成员
1月28日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
1月28日 添加了label:ci-pipeline-failed
ascend-robot
ascend-robot成员
1月28日 评论:
流水线 PR-pipeline_pytorch#4962 运行失败
阶段 任务名 状态 详情
编译构建 Build_X86 🕚 >>>
Build_LibTorch 🕚 >>>
Build_ARM 🕚 >>>
Build_ARM_inductor 🕚 >>>
Build_X86_py311 🕚 >>>
Build_ARM_py311 🕚 >>>
dist_test_or_not 🕚 >>>
恶意代码检查 Antipoison ✅ >>>
编码安全与规范检查 CodeCheck ❌ >>>
check_error ✅ >>>
开源片段检查 SCA ✅ >>>
开发者测试 UT_DIST_X86 🕚 >>>
UT_X86_Part_01 🕚 >>>
UT_X86_Part_02 🕚 >>>
UT_ARM_A2_Part_01 🕚 >>>
UT_ARM_A2_Part_02 🕚 >>>
UT_inductor_arm 🕚 >>>
流水线 PR-pipeline_pytorch ❌ >>>
likedislike
haiyan8
haiyan8
1月28日 评论:

compile

likedislike
ascend-robotascend-robot成员
1月28日 删除了label:ci-pipeline-failed
ascend-robotascend-robot成员
1月28日 添加了label:ci-pipeline-running
ascend-robotascend-robot成员
1月28日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
1月28日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
1月28日 评论:
流水线 PR-pipeline_pytorch#4969 已完成
阶段 任务名 状态 详情
编译构建 Build_X86 ✅ >>>
Build_LibTorch ✅ >>>
Build_ARM ✅ >>>
Build_ARM_inductor 🛑 >>>
Build_X86_py311 🛑 >>>
Build_ARM_py311 🛑 >>>
dist_test_or_not ✅ >>>
恶意代码检查 Antipoison ✅ >>>
编码安全与规范检查 CodeCheck ✅ >>>
check_error ✅ >>>
开源片段检查 SCA ✅ >>>
开发者测试 UT_DIST_X86 🛑 >>>
UT_X86_Part_01 ✅ >>>
UT_X86_Part_02 ✅ >>>
UT_ARM_A2_Part_01 🛑 >>>
UT_ARM_A2_Part_02 🛑 >>>
UT_inductor_arm 🛑 >>>
流水线 PR-pipeline_pytorch ✅ >>>
likedislike
王超成员
1月28日 评论:

/approve

likedislike
ascend-robotascend-robot成员
1月28日 添加了label:lgtm
shaoyf成员
1月28日 评论:

/approve

likedislike
ascend-robotascend-robot成员
1月28日 添加了label:approved
ascend-robot
ascend-robot成员
1月28日 评论:

Review Guide

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

likedislike
ascend-robotascend-robot成员
1月28日 合入了pull request