单算子匹配失败
2022/09/05
126
问题信息
问题来源 | 产品大类 | 产品子类 | 关键字 |
---|---|---|---|
官方 | CANN | 应用开发AscendCL | 单算子、匹配、日志、MatchOpModel、match |
问题现象描述
- 业务场景:应用/算子开发
- 适用处理器:Atlas 200/300/500 推理产品、Atlas 推理系列产品、Atlas 训练系列产品
- 处理器形态:EP、RC
- 问题现象:
- 离线加载执行场景:
EH9999 [Match][OpModel]failed to match model, opName = xxx Has not been compiled or loaded, Please make sure the op executed and the op compiled is matched, you can check the op type, op inputs number, outputs number, input format, origin format, datatype, memtype, attr, dim range, and so on.
- 在线加载执行场景:
EH9999 [Match][OpModel]MatchOpModel fail from static map or dynamic map. Please make sure the op executed and the op compiled is matched, you can check the op type, op inputs number, outputs number, input format, origin format, datatype, memtype, attr, dim range, and so on.
- 离线加载执行场景:
原因分析
- 离线场景:算子om文件未出现在aclSetModelDir中指定的路径下。
- 在线场景:一些特殊的匹配规则未适配,导致算子匹配失败。
解决措施
- 离线场景:重新编译缺少的算子,并复制到aclSetModelDir中指定的路径下,余下步骤按离线单算子推理步骤进行。
- 在线场景:根据报错信息检查前后两次编译的算子的opType、dataType、format等信息是否一致。
本页内容