已合并
support torch.npu.npurt #39457
support torch.npu.npurt #39457
已合并
bellatan创建于 6月27日
bellatan
bellatan成员
6月27日

【合入来源】

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

【修改方案】

实现方案描述:https://gitcode.com/Ascend/pytorch/issues/2504

【资料变更】

新增接口 torch.npu.npurt()

【接口变更】

新增接口 torch.npu.npurt()

【功能验证】

image.png

【CheckList】

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

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 bellatan 的贡献)
bellatanbellatan成员
6月27日 创建了 pull request,commit 7bb9306e
bellatanbellatan成员
6月27日 关联了issue:[Feature]: 对齐社区torch.cuda.cudart()支持NPU版本的torch.npu.npurt()
ascend-robot
ascend-robot成员6月27日进行代码检视1
torch_npu/npu/__init__.py
@@ -169,4 +171,4 @@
169171from .backends import * # noqa: F403
170172from ._backends import * # noqa: F403
171-from .deterministic import enable_deterministic_with_backward, disable_deterministic_with_backward # noqa: F403
173+from .deterministic import enable_deterministic_with_backward, disable_deterministic_with_backward # noqa: F403
172174from . import npugraph_ex
ascend-robot
ascend-robot6月27日评论:

此条代码评论区间+171+174

【openlibing.ci】识别到代码检查告警抑制注释,匹配工具:flake8,请Committer检视其合理性。

likedislike
ascend-robotascend-robot成员
6月27日 添加了label:stat/needs-squash
此处折叠了93条消息 查看更多
hbhu_bin成员
7月2日 评论:

/lgtm

likedislike
ascend-robotascend-robot成员
7月2日 添加了label:lgtm
ascend-robotascend-robot成员
7月2日 合入了pull request
ascend-robot
ascend-robot成员
7月2日 评论:

Pull Request 已合并或已关闭。

If you want to solve this problem, you can click here to do it in the FAQs.

likedislike
ascend-robot
ascend-robot成员
7月2日 评论:
流水线 pytorch_gitcode_PR_multiVersion#11699 [ commitID:809a21a3 ] 已完成
likedislike