已开启
【Ascend for PyTorch训练营 API一致性任务】补齐测试用例、API功能对齐、补齐文档(4) #1856
dinglaiping创建于  5月9日
dinglaiping成员
5月9日 创建

Ascend for PyTorch训练营 API一致性任务描述
一、任务概览
Ascend for PyTorch是昇腾 NPU 适配 PyTorch 框架的核心插件,为 PyTorch 提供完整的昇腾硬件算子支持、调度能力与推理优化,保障 PyTorch 模型可在昇腾 NPU 上无缝、高效运行。
当前 PyTorch 官方原生 API 已形成完善体系,但部分API尚未在 Ascend for PyTorch 中完成实现、对齐与验证,导致部分 PyTorch 原生模型 / 代码在昇腾 NPU 上运行时出现接口报错、功能不一致等问题。
本任务邀请开发者参与Ascend for PyTorch API 补齐与适配验证,完成缺失 API 的开发、调试、测试与文档交付,完善 Torch-NPU 对 PyTorch 原生 API 的兼容性,提升昇腾 NPU 上 PyTorch 框架的易用性与模型适配覆盖率。

二、任务要求及参考指导
https://docs.qq.com/doc/DT3R3eVNWdm1yUkdR

三、任务价值
深度参与昇腾生态 + PyTorch 开源共建,贡献代码合入官方仓库;
掌握 NPU PyTorch 框架适配、异构计算核心技能;
获得开源社区认可,积累工业级实习项目经验,提升简历竞争力。

四、API名称

torch.fx.graph_module._CodeOnlyModule
torch.fx.graph_module._copy_attr
torch.fx.graph_module._exec_with_source
torch.fx.graph_module._forward_from_src
torch.fx.graph_module._WrappedCall
torch.fx.GraphModule
torch.fx.GraphModule.__init__
torch.fx.GraphModule.add_submodule
torch.fx.GraphModule.code
torch.fx.GraphModule.delete_all_unused_submodules
torch.fx.GraphModule.delete_submodule
torch.fx.GraphModule.graph
torch.fx.GraphModule.print_readable
torch.fx.GraphModule.recompile
torch.fx.GraphModule.to_folder
torch.fx.Interpreter
torch.fx.Interpreter.boxed_run
torch.fx.Interpreter.call_function
torch.fx.Interpreter.call_method
torch.fx.Interpreter.call_module
torch.fx.Interpreter.fetch_args_kwargs_from_env
torch.fx.Interpreter.fetch_attr
torch.fx.Interpreter.get_attr
torch.fx.Interpreter.map_nodes_to_values
torch.fx.Interpreter.output
torch.fx.Interpreter.placeholder
torch.fx.Interpreter.run
torch.fx.Interpreter.run_node
torch.fx.Node
torch.fx.node._get_qualified_name
likedislike
Ddinglaiping成员
5月9日 添加了label:event: api-consistency
此处折叠了23条事件消息 查看更多
冬阳
6月30日 关联了pull request:test(fx): add NPU test cases for torch.fx.GraphModule APIs [v2.10.0]
冬阳
6月30日 评论:

认领:
torch.fx.GraphModule
torch.fx.GraphModule.init
torch.fx.GraphModule.add_submodule
torch.fx.GraphModule.code
torch.fx.GraphModule.delete_all_unused_submodules
torch.fx.GraphModule.delete_submodule
torch.fx.GraphModule.graph
torch.fx.GraphModule.print_readable
torch.fx.GraphModule.recompile
torch.fx.GraphModule.to_folder

likedislike
ascend-robotascend-robot成员
7月8日 关联了看板:MindStudio ISSUE管理
TorchNPU-BotTorchNPU-Bot成员
22 天前 添加了label:bot-triaged
TorchNPU-Bot
TorchNPU-Bot成员
22 天前 评论:

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

likedislike