Skip to content

[ERROR] [Qnn ExecuTorch]: Cannot Open QNN library libQnnHtp.so, with error: libc++.so.1: cannot open shared object file: No such file or directory #5120

@nbansal90

Description

@nbansal90

🐛 Describe the bug

Receiving Error and core dump while compiling deeplabv3 model using QNN backend. As mentioned in the link: https://pytorch.org/executorch/0.2/build-run-qualcomm-ai-engine-direct-backend.html

After finishing up Build process. During the following steps:

cd $EXECUTORCH_ROOT
python -m examples.qualcomm.scripts.deeplab_v3 -b build_android -m SM8550 --compile_only --download

I receive the following error during the quantization process for QNN backend

No quant config is implemented for op, aten.dropout.default
No quant config is implemented for op, aten.dropout.default
Quantizing the model...
[ERROR] [Qnn ExecuTorch]: Cannot Open QNN library libQnnHtp.so, with error: libc++.so.1: cannot open shared object file: No such file or directory
E 00:00:47.286110 executorch:QnnImplementation.cpp:183] Fail to start backend
E 00:00:47.286136 executorch:QnnManager.cpp:273] Fail to load Qnn library
Segmentation fault (core dumped)

Versions

Versions

NDK Version Installed: 27.0.11902837
QNN SDK Installed: 2.25.0.240728
Python: 3.10.0
Ubuntu: 22.04.4 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions