已合并
[sync] PR-37874: [test] split test_torch.py #38113
AACAES创建于 6月10日
[sync] PR-37874: [test] split test_torch.py #38113
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 AACAES 的贡献)ascend-robot
6月10日 评论:
6月10日 评论:
6月10日 添加了label:ascend-cla/yes
ascend-robot
6月10日 评论:
6月10日 评论:
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 |
|---|---|---|
| test | ✅ adrian07110, huangjingwei (2/2) | ✅ adrian07110 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
AACAES, thanks for your pull request. All authors of the commits have signed the CLA. 👍


6月10日 添加了label:ci-pipeline-running
ascend-robot
6月10日 评论:
6月10日 评论:
Ascend docs pipeline is running...


6月10日 添加了label:docs-ci-pipeline-running
ascend-robot
6月10日 评论:
6月10日 评论:
Ascend docs pipeline is running...


ascend-robot
6月10日 评论:
6月10日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


6月10日 删除了label:docs-ci-pipeline-running
6月10日 添加了label:docs-ci-pipeline-success
ascend-robot
6月10日 评论:
6月10日 评论:
✅ 跳过 docs ci 检查,没有需要检查的文档文件


6月10日 删除了label:ci-pipeline-running
6月10日 添加了label:ci-pipeline-failed
6月10日 删除了label:ci-pipeline-failed
6月10日 添加了label:ci-pipeline-running
6月10日 删除了label:ci-pipeline-running
6月10日 添加了label:ci-pipeline-passed
ascend-robot
6月10日 评论:
6月10日 评论:
流水线 PR-pipeline_pytorch#30987 (重试第1次)已完成
| 阶段 | 任务名 | 状态 | 详情 |
|---|---|---|---|
| 编译构建 | Build_X86 | ✅ | >>> |
| Build_ARM | ✅ | >>> | |
| Build_LibTorch_x86 | ✅ | >>> | |
| Build_LibTorch_ARM | ✅ | >>> | |
| Build_X86_torchair | 🛑 | >>> | |
| Build_ARM_torchair | 🛑 | >>> | |
| patch_test | 🛑 | >>> | |
| 恶意代码检查 | Antipoison | ✅ | >>> |
| 编码安全与规范检查 | CodeCheck | ✅ | >>> |
| check_error | ✅ | >>> | |
| CodeCheck_lintrunner | ✅ | >>> | |
| 开源片段检查 | SCA | ✅ | >>> |
| 开发者测试 | UT_X86_Part_01 | 🛑 | >>> |
| UT_X86_Part_02 | 🛑 | >>> | |
| UT_ARM_A3_Part_01 | 🛑 | >>> | |
| UT_ARM_A3_Part_02 | 🛑 | >>> | |
| UT_ARM_A2_Part_01 | ✅ | >>> | |
| UT_ARM_A2_Part_02 | ✅ | >>> | |
| UT_ARM_A2_Part_03 | ✅ | >>> | |
| UT_inductor_Part_01 | 🛑 | >>> | |
| UT_inductor_Part_02 | 🛑 | >>> | |
| UT_inductor_Part_03 | 🛑 | >>> | |
| UT_inductor_Part_04 | 🛑 | >>> | |
| UT_DIST_ARM_Part_01 | 🛑 | >>> | |
| UT_DIST_ARM_Part_02 | 🛑 | >>> | |
| UT_DIST_ARM_Part_03 | 🛑 | >>> | |
| UT_DIST_ARM_Part_04 | 🛑 | >>> | |
| UT_ARM_A2_Select_Part_01 | ✅ | >>> | |
| UT_ARM_A2_Select_Part_02 | ✅ | >>> | |
| 流水线 | PR-pipeline_pytorch | ✅ | >>> |


Jingwei Huang
6月10日 评论:
6月10日 评论:
/lgtm


ZhihaoLi
6月11日 评论:
6月11日 评论:
/approve


6月11日 添加了label:approvedlgtm
6月11日 合入了pull request
AACAES
6月11日 评论:
6月11日 评论:
/sync v2.10.0 v2.11.0 v2.12.0 v2.7.1-26.1.0 v2.9.0-26.1.0 v2.10.0-26.1.0 v2.11.0-26.1.0 v2.12.0-26.1.0


ascend-robot
6月11日 评论:
6月11日 评论:
In response to this:
/sync v2.10.0 v2.11.0 v2.12.0 v2.7.1-26.1.0 v2.9.0-26.1.0 v2.10.0-26.1.0 v2.11.0-26.1.0 v2.12.0-26.1.0
同步操作执行结果:
| Branch | Status | Pull Request |
|---|---|---|
| v2.10.0 | 创建同步 PR | https://gitcode.com/Ascend/pytorch/merge_requests/38205 |
| v2.11.0 | 创建同步 PR | https://gitcode.com/Ascend/pytorch/merge_requests/38206 |
| v2.12.0 | 创建同步 PR | https://gitcode.com/Ascend/pytorch/merge_requests/38207 |
| v2.7.1-26.1.0 | 同步失败:请手动创建 PR 进行同步,我们会继续完善分支之间同步操作,尽量避免同步失败的情况 | |
| v2.9.0-26.1.0 | 创建同步 PR | https://gitcode.com/Ascend/pytorch/merge_requests/38208 |
| v2.10.0-26.1.0 | 创建同步 PR | https://gitcode.com/Ascend/pytorch/merge_requests/38209 |
| v2.11.0-26.1.0 | 创建同步 PR | https://gitcode.com/Ascend/pytorch/merge_requests/38210 |
| v2.12.0-26.1.0 | 创建同步 PR | https://gitcode.com/Ascend/pytorch/merge_requests/38211 |


ascend-robot
6月11日 评论:
6月11日 评论:
流水线 pytorch_gitcode_PR_multiVersion#10492 [ commitID:9e7db313 ] 已完成


ascend-robot
6月11日 评论:
6月11日 评论:
In response to this:
/sync master
同步操作执行结果:
| Branch | Status | Pull Request |
|---|---|---|
| master | 创建同步 PR | https://gitcode.com/Ascend/pytorch/merge_requests/38242 |


6月11日 added a commit that referenced this pull request
- d0eda223 - [sync] PR-38113: [sync] PR-37874: [test] split test_torch.py
Co-authored-by: acaes
# message auto-generated for no-merge-commit merge:
!38208 merge sync-pr38113-v2.9.0_test-to-v2.9.0-26.1.0 into v2.9.0-26.1.0
[sync] PR-38113: [sync] PR-37874: [test] split test_torch.py
Created-by: ascend-ds-bot
Commit-by: acaes
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38113
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2337
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[9e7db313](https://gitcode.com/Ascend/pytorch/commit/9e7db313cc5f29ef6168a45bdae19f356883f2e7)|2026-06-10 16:51:50 +0800 CST|[sync] PR-37874: [test] split test_torch.py
| See merge request: Ascend/pytorch!38208- [#38113](https://gitcode.com/Ascend/pytorch/merge_requests/38113)
6月11日 added a commit that referenced this pull request
- d0eda223 - [sync] PR-38113: [sync] PR-37874: [test] split test_torch.py
Co-authored-by: acaes
# message auto-generated for no-merge-commit merge:
!38208 merge sync-pr38113-v2.9.0_test-to-v2.9.0-26.1.0 into v2.9.0-26.1.0
[sync] PR-38113: [sync] PR-37874: [test] split test_torch.py
Created-by: ascend-ds-bot
Commit-by: acaes
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/38113
### 2. Original pull request related issue(s):
https://gitcode.com/Ascend/pytorch/issues/2337
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[9e7db313](https://gitcode.com/Ascend/pytorch/commit/9e7db313cc5f29ef6168a45bdae19f356883f2e7)|2026-06-10 16:51:50 +0800 CST|[sync] PR-37874: [test] split test_torch.py
| See merge request: Ascend/pytorch!38208- [#38113](https://gitcode.com/Ascend/pytorch/merge_requests/38113)
【合入来源】
【修改方案】
ci用例批跑报错,原始文件过大,可能踩内存导致,特此进行用例拆分
【资料变更】
【接口变更】
【功能验证】
【CheckList】