已合并
[sync] PR-37777: fix add logging header for libtorch_npu #37918
ascend-robot创建于 6月9日
[sync] PR-37777: fix add logging header for libtorch_npu #37918
已合并
ascend-robot创建于 6月9日
ascend-robot
ascend-robot成员
6月9日

1. Origin pull request:

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

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

Sha Datetime Message
3c3d79da 2026-06-06 17:23:27 +0800 CST add logging header for libtorch_npu
likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 ascend-robot 的贡献)
ascend-robotascend-robot成员
6月9日 创建了 pull request,commit 6384a3f3
ascend-robotascend-robot成员
6月9日 关联了issue:使用libtorch_npu的头文件时报torch_npu/csrc/logging/LogContext.h: No such file or directory
ascend-robotascend-robot成员
6月9日 添加了label:ascend-cla/yes
ascend-robot
ascend-robot成员
6月9日 评论:

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
repo-Ascend/pytorch liangsongwei, renyujin (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
ascend-robot
ascend-robot成员
6月9日 评论:

Ascend docs pipeline is running...

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

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

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

compile

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

Ascend docs pipeline is running...

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

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

likedislike
ascend-robotascend-robot成员
6月9日 删除了label:docs-ci-pipeline-running
ascend-robotascend-robot成员
6月9日 添加了label:docs-ci-pipeline-success
ascend-robotascend-robot成员
6月9日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
6月9日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
6月9日 评论:
流水线 PR-pipeline_pytorch#30530 已完成
阶段 任务名 状态 详情
编译构建 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
renyujin成员
6月9日 评论:

/lgtm

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

/approve

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