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 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
- Check whether the operator plugin .so file is successfully loaded.
- Information displayed if the operator plugin .so file is successfully loaded:
plugin load ******/opp/built-in/framework/onnx/libops_all_onnx_plugin.so success.
- Key warning information in the case of loading failure:
dlopen failed, plugin name:%s. Message(%s).
- Information displayed if the operator plugin .so file is successfully loaded:
- 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
