已合并
test update ut #37734
huangyunlong创建于 6月5日
test update ut #37734
已合并
huangyunlong创建于 6月5日
huangyunlong成员
6月5日

【合入来源】

如有社区issue,请关联issue链接
请勿携带内部流程信息(需求链接、问题单、内部issue等)

  • 需求
  • 问题单
  • issue/工单
  • 重构优化
  • 资料更新

【修改方案】

请描述修改内容的具体实现,涉及哪些组件之间进行交互,可以用1、2、3、...进行罗列
如果是需求或者重构类的PR,需要补充详细设计文档(说明上下游组件关系、时序图、类图、DFX能力等内容)

test_deprecation test_cycle_lr_cycle_momentum_fail_with_momentumless_optimizer test_hook_registration 同步社区用例更新
test_float_status A2/A3需要开启饱和模式
test_select_at_first_axis_to_single_element_tensor_copy 转连续优化是aclop路径,alcnn路径添加aclnnAdds通过用例
test_expand_copy_to_slice_discontiguous_tensor 非本次修复,特定ci环境失败先跳过

【资料变更】

请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及”

【接口变更】

请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及”

【功能验证】

说明测试场景,测试方法。如果本次测试方式与常规单元测试不同,请详细说明您的测试步骤
新增/变更内容是否已新增/适配UT测试用例看护,并补充测试自验证截图

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

  • 代码注释完备,正确记录错误日志
  • 代码实现进行了返回值、空指针等校验
  • PR标题正确使用类型标签,如:feat、fix、refactor、docs、test等
  • PR持续集成流水线(CI)执行通过,代码检查无异常
likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 huangyunlong 的贡献)
Hhuangyunlong成员
6月5日 创建了 pull request,commit ec9efcbb
ascend-robotascend-robot成员
6月5日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
6月5日 评论:

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, ffmh (2/2) liangsongwei (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

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

likedislike
ascend-robot
ascend-robot成员
6月5日 评论:

当前仓库存在以下 保护分支

Protected Branch Version Release
master
v2.7.1
v2.9.0
v2.10.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,将立即执行同步操作

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
此处折叠了107条消息 查看更多
ascend-robotascend-robot成员
6月8日 合入了pull request
ascend-robot
ascend-robot成员
6月8日 评论:
流水线 pytorch_gitcode_PR_multiVersion#10232 [ commitID:bedf0823 ] 已完成
likedislike
huangyunlong成员
6月10日 评论:

/sync v2.7.1-26.1.0

likedislike
ascend-robot
ascend-robot成员
6月10日 评论:

In response to this:

/sync v2.7.1-26.1.0

@huangyunlong2022

同步操作执行结果:

Branch Status Pull Request
v2.7.1-26.1.0 创建同步 PR https://gitcode.com/Ascend/pytorch/merge_requests/38115
likedislike
ascend-robotascend-robot成员
6月11日 added a commit that referenced this pull request
  • 022b6108 - [sync] PR-37734: test update ut Co-authored-by: huangyunlong2022 # message auto-generated for no-merge-commit merge: !38115 merge sync-pr37734-2.7ut1-to-v2.7.1-26.1.0 into v2.7.1-26.1.0 [sync] PR-37734: test update ut Created-by: ascend-ds-bot Commit-by: huangyunlong2022 Merged-by: ascend-robot Description: ### 1. Origin pull request: https://gitcode.com/Ascend/pytorch/merge_requests/37734 ### 2. Original pull request related issue(s): https://gitcode.com/Ascend/pytorch/issues/2288 ### 3. Original pull request related commit(s): | Sha | Datetime | Message | |---|---|---| |[bedf0823](https://gitcode.com/Ascend/pytorch/commit/bedf0823b881b3b7494e1a3fb579db579f1f47d7)|2026-06-06 17:15:43 +0800 CST|skip ut
    | |[6274f450](https://gitcode.com/Ascend/pytorch/commit/6274f450908204010aa593f2b4df3246efeeb290)|2026-06-06 09:47:10 +0800 CST|update ut
    | See merge request: Ascend/pytorch!38115
    • [#37734](https://gitcode.com/Ascend/pytorch/merge_requests/37734)
[Compare with previous version](https://gitcode.com/Ascend/pytorch/merge_requests/37734/diffs?diff_id=6373442&start_sha=25bdba25e901a2d06edbc99685546b5c7d5840c4