已合并
[v2.9.0] cherry-pick v2.7.1_fix_ut: remove unskip #37616
ffmh创建于 6月4日
[v2.9.0] cherry-pick v2.7.1_fix_ut: remove unskip #37616
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 ffmh 的贡献)ascend-robot
6月4日 评论:
6月4日 评论:
6月4日 添加了label:ascend-cla/yes
ascend-robot
6月4日 评论:
6月4日 评论:
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 | ✅ liangsongwei, chengpeng25 (2/2) | ✅ liangsongwei (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
ffmh, thanks for your pull request. All authors of the commits have signed the CLA. 👍


ascend-robot
6月4日 评论:
6月4日 评论:
当前仓库存在以下 保护分支 :
| Protected Branch | Version | Release |
|---|---|---|
| master | ||
| v2.7.1 | ||
| v2.10.0 | ||
| v2.9.0 | ||
| v2.11.0 | ||
| v2.12.0 | ||
| ci-test | ||
| sync-pr28113--to-v2.9.0 |
评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作
注意:
- /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
- 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭


此处折叠了60条消息 查看更多
6月8日 合入了pull request
ascend-robot
6月8日 评论:
6月8日 评论:
流水线 pytorch_gitcode_PR_multiVersion#10237 [ commitID:8539eff2 ] 已完成


ffmh
6月10日 评论:
6月10日 评论:
/sync v2.9.0-26.1.0


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


6月12日 added a commit that referenced this pull request
- 99258382 - [sync] PR-37616: [v2.9.0] cherry-pick v2.7.1_fix_ut: remove unskip
Co-authored-by: ffmh
# message auto-generated for no-merge-commit merge:
!38151 merge sync-pr37616-v2.9.0_fix_ut-to-v2.9.0-26.1.0 into v2.9.0-26.1.0
[sync] PR-37616: [v2.9.0] cherry-pick v2.7.1_fix_ut: remove unskip
Created-by: ascend-ds-bot
Commit-by: ffmh
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/37616
### 2. Original pull request related issue(s):
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[8539eff2](https://gitcode.com/Ascend/pytorch/commit/8539eff2a64807f1bc4451fcb3ecb988dc8fd108)|2026-06-05 15:09:52 +0800 CST|fix lint: remove trailing whitespace
| |[f9e715d7](https://gitcode.com/Ascend/pytorch/commit/f9e715d73d44224c560cab65cd042eded4a1f5fc)|2026-06-04 17:06:55 +0800 CST|remove unskip
| See merge request: Ascend/pytorch!38151- [#37616](https://gitcode.com/Ascend/pytorch/merge_requests/37616)
6月12日 added a commit that referenced this pull request
- 99258382 - [sync] PR-37616: [v2.9.0] cherry-pick v2.7.1_fix_ut: remove unskip
Co-authored-by: ffmh
# message auto-generated for no-merge-commit merge:
!38151 merge sync-pr37616-v2.9.0_fix_ut-to-v2.9.0-26.1.0 into v2.9.0-26.1.0
[sync] PR-37616: [v2.9.0] cherry-pick v2.7.1_fix_ut: remove unskip
Created-by: ascend-ds-bot
Commit-by: ffmh
Merged-by: ascend-robot
Description:
### 1. Origin pull request:
https://gitcode.com/Ascend/pytorch/merge_requests/37616
### 2. Original pull request related issue(s):
### 3. Original pull request related commit(s):
| Sha | Datetime | Message |
|---|---|---|
|[8539eff2](https://gitcode.com/Ascend/pytorch/commit/8539eff2a64807f1bc4451fcb3ecb988dc8fd108)|2026-06-05 15:09:52 +0800 CST|fix lint: remove trailing whitespace
| |[f9e715d7](https://gitcode.com/Ascend/pytorch/commit/f9e715d73d44224c560cab65cd042eded4a1f5fc)|2026-06-04 17:06:55 +0800 CST|remove unskip
| See merge request: Ascend/pytorch!38151- [#37616](https://gitcode.com/Ascend/pytorch/merge_requests/37616)
【合入来源】
【修改方案】
Cherry-pick de67e68db from v2.7.1_fix_ut
移除 test/optim/test_fused_optimizers.py 中 3 处
@unittest.skip("Temporarily skipping")装饰器,重新启用以下测试用例:【资料变更】
不涉及
【接口变更】
不涉及
【功能验证】
重新启用 test_fused_optimizers.py 中被跳过的 3 个测试用例,验证 NPU 上 fused optimizer 的 unscale 和 dynamic/static training 功能正常。
【CheckList】