已开启
[Usage]: transfer_to_npu未支持is_autocast_enabled等torch接口的迁移 #4528
louyujing创建于  4 天前
louyujing
4 天前 创建

在提交新问题之前,请确保您已经在社区中搜索过相关问题,并使用了社区中提供的资源/工具后,仍未找到满意的解决方式。

环境信息

例如:
- 操作系统
- 昇腾硬件信息
- CANN软件版本
- 安装的对应软件版本

torch 2.7.1

使用场景及问题

以下接口需要适配迁移:
torch.is_autocast_enabled
torch.get_autocast_dtype
torch.get_autocast_gpu_dtype
torch.amp.custom_fwd
torch.amp.custom_bwd

欢迎加入社区,感谢您对社区的贡献 🎉!

likedislike
TorchNPU-BotTorchNPU-Bot成员
4 天前 添加了label:triage-review
TorchNPU-Bot
TorchNPU-Bot成员
4 天前 评论:

issue待分派,添加triage-review标签

likedislike
ascend-robotascend-robot成员
4 天前 添加了label:usage
TorchNPU-BotTorchNPU-Bot成员
4 天前 添加了label:bot-triaged;删除了label:triage-review
TorchNPU-Bot
TorchNPU-Bot成员
4 天前 评论:

检测到当前 issue 已关联 PR,自动添加标签:bot-triaged

likedislike
Llouyujing
4 天前 关联了pull request:fix: patch is_autocast_enabled custom_fwd custom_bwd for npu in transfer_to_npu
Llouyujing
4 天前 关联了pull request:fix: patch is_autocast_enabled custom_fwd custom_bwd for npu in transfer_to_npu
Llouyujing
4 天前 关联了pull request:fix: patch is_autocast_enabled custom_fwd custom_bwd for npu in transfer_to_npu
Llouyujing
4 天前 关联了pull request:fix: patch is_autocast_enabled custom_fwd custom_bwd for npu in transfer_to_npu
Llouyujing
4 天前 关联了pull request:fix: patch is_autocast_enabled custom_fwd custom_bwd for npu in transfer_to_npu
Llouyujing
1 天前 关联了pull request:fix: patch set_autocast_enabled and set_autocast_dtype for npu in transfer_to_npu
Llouyujing
1 天前 关联了pull request:fix: patch set_autocast_enabled and set_autocast_dtype for npu in transfer_to_npu
Llouyujing
1 天前 关联了pull request:fix: patch set_autocast_enabled and set_autocast_dtype for npu in transfer_to_npu
Llouyujing
1 天前 关联了pull request:fix: patch set_autocast_enabled and set_autocast_dtype for npu in transfer_to_npu
Llouyujing
1 天前 关联了pull request:fix: patch set_autocast_enabled and set_autocast_dtype for npu in transfer_to_npu
Llouyujing
1 天前 关联了pull request:fix: patch set_autocast_enabled and set_autocast_dtype for npu in transfer_to_npu