sherpa-onnx
sherpa-onnx copied to clipboard
Adding QNN execution provider
trafficstars
I am trying to add QNN execution provider. I have compiled onnxruntime with QNN support and added QNN execution provider in session.cc script. But while running the android application, I am getting this error -
[E:onnxruntime:, qnn_execution_provider.cc:499 GetCapability] QNN SetupBackend failed qnn_backend_manager.cc:288 InitializeBackend Failed to initialize backend
I am using libQnnDsp.so as backend.
If I use libQnnHtp.so the error is -
[E:onnxruntime:, qnn_execution_provider.cc:499 GetCapability] QNN SetupBackend failed Failed to create device. Error: 14001
Can anyone help me with this issue?