单算子案例实现出现错误EZ3003: 2024-11-01-09:42:03.979.894 No supported Ops kernel and engine are found for [AddDsl], optype [AddDsl
收藏回复举报
单算子案例实现出现错误EZ3003: 2024-11-01-09:42:03.979.894 No supported Ops kernel and engine are found for [AddDsl], optype [AddDsl
t('forum.solved') 已解决
发表于2024-11-01 10:00:39
0 查看

实验基于华为云ECS云服务器,在学习AscendCL单算子案例演示时出现问题

在运行 /samples/cplusplus/level1_single_api/4_op_dev/2_verify_op/acl_execute_add案例时,出现错误,公共镜像下出现以下信息

root@ecs-5697:/usr/local/samples/cplusplus/level1_single_api/4_op_dev/2_verify_op/acl_execute_add/run/out# atc --singleop=test_data/config/add_op.json --soc_version=Ascend310 --output=op_models
ATC start working now, please wait for a moment.
ATC run failed, Please check the detail log, Try 'atc --help' for more information
E19000: Path[/usr/local/Ascend/ascend-toolkit/20.1.rc1/x86_64-linux/opp/op_impl/custom/ai_core/tbe/config/ascend310]'s realpath is empty, errmsg[The file path does not exist.]
E13003: Can't find any supported ops kernel and engine of [AddDsl], type is [AddDsl]

升级环境后情况如下

root@ecs-5697:/usr/local/samples/cplusplus/level1_single_api/4_op_dev/2_verify_op/acl_execute_add/run/out# atc --singleop=test_data/config/add_op.json --soc_version=Ascend310 --output=op_models
ATC start working now, please wait for a moment.
...
ATC run failed, Please check the detail log, Try 'atc --help' for more information
EZ3003: 2024-11-01-09:42:03.979.894 No supported Ops kernel and engine are found for [AddDsl], optype [AddDsl].
        Possible Cause: The operator is not supported by the system. Therefore, no hit is found in any operator information library.
        Solution: 1. Check that the OPP component is installed properly. 2. Submit an issue to request for the support of this operator type.
        TraceBack (most recent call last):
        Assert ((SelectEngine(node_ptr, exclude_engines, is_check_support_success, op_info)) == ge::SUCCESS) failed[FUNC:operator()][FILE:engine_place.cc][LINE:144]
        build graph failed, graph id:0, ret:-1[FUNC:BuildModelWithGraphId][FILE:ge_generator.cc][LINE:1608]

true 具体环境是 A300-3010-npu-driver_23.0.0_linux-x86_64.run* Ascend-cann-toolkit_8.0.RC3.alpha001_linux-x86_64.run*

配置了头文件

export DDK_PATH=/usr/local//Ascend/ascend-toolkit/latest
export NPU_HOST_LIB=$DDK_PATH/runtime/lib64/stub

不知道如何解决,以上都是重新装系统之后第二次的情况

我要发帖子