文档首页/
AI开发平台ModelArts/
最佳实践/
GPU业务迁移至昇腾训练推理/
推理迁移指导(MindSporeLite)/
常见问题/
日志提示Custom op has no reg_op_name attr
更新时间:2025-07-29 GMT+08:00
日志提示Custom op has no reg_op_name attr
问题现象
日志提示:Custom op has no reg_op_name attr。
图1 报错提示

原因分析
无。
处理方法
定义context时无需指定:
context.ascend.provider = "ge"
父主题: 常见问题