已合并
[sync] PR-39006: [test]skip_test_jacfwd #39336
[sync] PR-39006: [test]skip_test_jacfwd #39336
已合并
ascend-robot创建于 6月25日
ascend-robot
ascend-robot成员
6月25日

1. Origin pull request:

https://gitcode.com/Ascend/pytorch/merge_requests/39006

https://gitcode.com/Ascend/pytorch/issues/2451

Sha Datetime Message
2f4fc241 2026-06-23 09:32:05 +0800 CST skip_test_jacfwd
likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 ascend-robot 的贡献)
ascend-robotascend-robot成员
6月25日 创建了 pull request,commit aa283c42
ascend-robotascend-robot成员
6月25日 关联了issue:[Bug]: skip ci error test_eager_transforms
ascend-robotascend-robot成员
6月25日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
6月25日 评论:

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, huangjingwei (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

ascend-ds-bot, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
SCh_zx成员
6月25日 评论:

compile

likedislike
ascend-robotascend-robot成员
6月25日 添加了label:ci-pipeline-running
ascend-robot
ascend-robot成员
6月25日 评论:

Ascend docs pipeline is running...

likedislike
ascend-robotascend-robot成员
6月25日 添加了label:docs-ci-pipeline-running
ascend-robot
ascend-robot成员
6月25日 评论:

Ascend docs pipeline is running...

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

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
6月25日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
6月25日 添加了label:docs-ci-pipeline-success
ascend-robot
ascend-robot成员
6月25日 评论:

✅ 跳过 docs ci 检查,没有需要检查的文档文件

likedislike
ascend-robotascend-robot成员
6月25日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
6月25日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
6月25日 评论:
流水线 PR-pipeline_pytorch#39190 [ commitID:497a2cf5 ] 已完成
阶段 任务名 状态 详情
编译构建 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 >>>
likedislike
ascend-robot
ascend-robot成员
6月25日 评论:
流水线 PR-pipeline_pytorch#39190 [ commitID:497a2cf5 ] 已完成
阶段 任务名 状态 详情
编译构建 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 >>>
likedislike
atomgit-bot
atomgit-bot
6月25日 评论:

变更摘要

此变更来自 Ascend/pytorch 上游 PR-39006 的同步,主要目的是在 test/functorch/test_eager_transforms.py 测试文件中跳过 jacfwd 相关的测试用例。变化包括新增一个仅运行 jacrev 的参数化装饰器 FIXME_jacrev_only,以便后续可选择性将部分测试从同时运行 jacrevjacfwd 切换为仅运行 jacrev;同时对 TestHessian 类中的 test_jacfwd_different_levels 测试方法添加了 @unittest.skip("skip ci err jacfwd") 跳过标记,以避免 CI 环境中该测试因 jacfwd 报错而失败。

主要改动

  • 新增 FIXME_jacrev_only 参数化装饰器:在 jacrev_and_jacfwd 定义之后增加了 FIXME_jacrev_only = parametrize("jacapi", [subtest(jacrev, name="jacrev")]),提供一个仅包含 jacrev、排除 jacfwd 的参数化选项,供后续需要跳过 jacfwd 的测试用例使用
  • 跳过 test_jacfwd_different_levels 测试:为 TestHessian 类中的 test_jacfwd_different_levels 方法添加了 @unittest.skip("skip ci err jacfwd") 装饰器,在 CI 中直接跳过该用例以避免 jacfwd 相关错误
likedislike
atomgit-bot
atomgit-bot
6月25日 评论:

代码审查

✅ 未发现问题

likedislike
Jingwei Huang
Jingwei Huang成员
6月27日 评论:

/lgtm

likedislike
梁松伟
梁松伟成员
6月27日 评论:

/approve

likedislike
ascend-robotascend-robot成员
6月27日 添加了label:approvedlgtm
ascend-robotascend-robot成员
6月27日 合入了pull request
ascend-robot
ascend-robot成员
6月27日 评论:
流水线 pytorch_gitcode_PR_multiVersion#11475 [ commitID:497a2cf5 ] 已完成
likedislike