onnx转om模型遇到算子不支持,但是查询CANN支持的算子清单是支持的。
收藏回复举报
onnx转om模型遇到算子不支持,但是查询CANN支持的算子清单是支持的。
t('forum.solved') 已解决
发表于2025-01-02 15:32:50
0 查看

转换命令

atc --model=/data1/wyx/decode-test-onnx/model.onnx --framework=5 --output=/data1/wyx/decode-test-onnx/model --input_shape="encoder_input:1,100~1500,80;input_length:1" --soc_version=Ascendxxx

报错信息 EZ3003: [PID: 56683] 2025-01-02-15:29:42.704.625 No supported Ops kernel and engine are found for [/cells.0/mhsam/mha/Einsum_1], optype [Einsum]. 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:149]

CANN版本8.0RC3

参考文档https://www.hiascend.com/document/detail/zh/canncommercial/80RC3/apiref/aolapi/atlasoxol_09_0052.html

本帖最后由 匿名用户2025/01/02 17:30:20 编辑

我要发帖子