Operator Plugin Is Not Registered
Symptom
An error is reported in the log, indicating that an operator type is not supported.
Check op[%s]'s type[%s] failed, it is not supported.
Or
During model conversion, the type of an operator is converted into the frameworkop type, which does not meet the expectation.
Possible Cause
The possible causes are as follows:
- The operator plugin .so file fails to be loaded.
- Mapping is not registered for the operator or not compiled into the .so plugin of the operator.
Solution
To rectify the fault, perform the following steps:
- Check whether the operator plugin .so file is successfully loaded.
1. Information displayed if the operator plugin .so file is successfully loaded:
plugin load /usr/local/Ascend/opp/built-in/framework/onnx/libops_all_onnx_plugin.so success.
2. Key warning information in the case of loading failure:
dlopen failed, plugin name:%s. Message(%s).
- If the operator plugin .so file is successfully loaded, check whether the mapping registered by the operator is compiled into the loaded .so file.
- If the operator plugin .so file fails to be loaded, rectify the fault by referring to the message in the failure warning.
Parent topic: Operator Execution Issues
