已合并
[fix]meta_check-on_rebuild-npu_tensor #32899
cuiduo创建于 4月1日
[fix]meta_check-on_rebuild-npu_tensor #32899
已合并
cuiduo创建于 4月1日
cuiduo
cuiduo成员
4月1日

【合入来源】

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

【修改方案】

函数_rebuild_npu_tensor在输入为faketensor的情况下,无法在NPU上进行数据创建,需要增加faketensor检测,在设备为meta的情况下补充fake_device信息

【资料变更】

不涉及

【接口变更】

不涉及

【功能验证】

本地验证通过

【CheckList】

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

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 cuiduo 的贡献)
cuiduocuiduo成员
4月1日 创建了 pull request,commit d1b4c89d
ascend-robot
ascend-robot成员
4月1日 评论:

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, zichun_ye (2/2) adrian07110, zichun_ye (2/1)
torch_npu/utils zichun_ye, adrian07110 (2/2) zichun_ye, adrian07110 (2/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
ascend-robotascend-robot成员
4月1日 添加了label:ascend-cla/yes
cuiduo
cuiduo成员
4月1日 评论:

compile

likedislike
ascend-robotascend-robot成员
4月1日 添加了label:ci-pipeline-running
ascend-robotascend-robot成员
4月1日 删除了label:ci-pipeline-running
ascend-robotascend-robot成员
4月1日 添加了label:ci-pipeline-passed
ascend-robot
ascend-robot成员
4月1日 评论:
流水线 PR-pipeline_pytorch#13793 已完成
阶段 任务名 状态 详情
编译构建 Build_X86 >>>
Build_ARM >>>
Build_LibTorch_x86 >>>
Build_X86_torchair 🛑 >>>
Build_ARM_torchair 🛑 >>>
Build_ARM_inductor >>>
恶意代码检查 Antipoison >>>
编码安全与规范检查 CodeCheck >>>
check_error >>>
开源片段检查 SCA >>>
开发者测试 UT_X86_Part_01 🛑 >>>
UT_X86_Part_02 🛑 >>>
UT_ARM_A3_Part_01 🛑 >>>
UT_ARM_A3_Part_02 🛑 >>>
UT_DIST_X86_Part_01 🛑 >>>
UT_DIST_X86_Part_02 🛑 >>>
UT_DIST_X86_Part_03 🛑 >>>
UT_DIST_X86_Part_04 🛑 >>>
UT_inductor_Part_01 >>>
UT_inductor_Part_02 >>>
UT_inductor_Part_03 >>>
UT_inductor_Part_04 >>>
UT_ARM_A2_Part_01 >>>
UT_ARM_A2_Part_02 >>>
流水线 PR-pipeline_pytorch >>>
likedislike
cuiduocuiduo成员
4月3日 修改了pull request 的描述
zichun_ye
zichun_ye成员
4月3日 评论:

/approve

likedislike
ascend-robotascend-robot成员
4月3日 添加了label:approved
ZhihaoLi
ZhihaoLi成员
4月3日 评论:

/approve

likedislike
ascend-robotascend-robot成员
4月3日 添加了label:lgtm
ascend-robot
ascend-robot成员
4月3日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: adrian07110, zichun_ye.
Reviewers who wrote a comment of /lgtm are: adrian07110, zichun_ye.

likedislike
ascend-robotascend-robot成员
4月3日 合入了pull request