Adding QNN execution provider
Author: bibekanandaburagohainCreated Apr 8, 2024Updated Sep 1, 2026
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?
Source: k2-fsa/sherpa-onnx