You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Click the "Get Software" button to download the latest version of the QNN SDK.
78
+
- Although newer versions are available, we have verified and recommend using QNN 2.37.0 for stability.
79
+
- You can download it directly from the following link: [QNN 2.37.0](https://softwarecenter.qualcomm.com/api/download/software/sdks/Qualcomm_AI_Runtime_Community/All/2.37.0.250724/v2.37.0.250724.zip)
81
80
82
81
The directory with installed Qualcomm AI Engine Direct SDK looks like:
83
82
```
@@ -136,86 +135,6 @@ cd $EXECUTORCH_ROOT
136
135
./backends/qualcomm/scripts/build.sh --release
137
136
```
138
137
139
-
### AOT (Ahead-of-time) components:
140
-
141
-
Python APIs on x64 are required to compile models to Qualcomm AI Engine Direct binary.
142
-
143
-
```bash
144
-
cd$EXECUTORCH_ROOT
145
-
mkdir build-x86
146
-
cd build-x86
147
-
# Note that the below command might change.
148
-
# Please refer to the above build.sh for latest workable commands.
149
-
cmake .. \
150
-
-DCMAKE_INSTALL_PREFIX=$PWD \
151
-
-DEXECUTORCH_BUILD_QNN=ON \
152
-
-DQNN_SDK_ROOT=${QNN_SDK_ROOT} \
153
-
-DEXECUTORCH_BUILD_DEVTOOLS=ON \
154
-
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
155
-
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
156
-
-DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
157
-
-DPYTHON_EXECUTABLE=python3
158
-
159
-
# nproc is used to detect the number of available CPU.
160
-
# If it is not applicable, please feel free to use the number you want.
Copy file name to clipboardExpand all lines: examples/qualcomm/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,12 +111,13 @@ This section outlines the essential APIs and utilities provided to streamline th
111
111
Creates a clean directory for storing model outputs or intermediate results. If the directory already exists, it will be deleted and recreated to ensure a consistent environment for each run.
112
112
113
113
## Additional Dependency
114
+
This example requires the following Python packages:
115
+
- pandas and scikit-learn: used in the mobilebert multi-class text classification example.
116
+
- graphviz (optional): used for visualizing QNN graphs during debugging.
114
117
115
-
The mobilebert multi-class text classification example requires `pandas` and `sklearn`.
Copy file name to clipboardExpand all lines: examples/qualcomm/oss_scripts/llama/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@ We offer the following modes to execute the model:
38
38
### Step 1: Setup
39
39
1. Follow the [tutorial](https://pytorch.org/executorch/main/getting-started-setup) to set up ExecuTorch.
40
40
2. Follow the [tutorial](https://pytorch.org/executorch/main/backends-qualcomm) to build Qualcomm AI Engine Direct Backend.
41
+
3. Please install the llm eval dependency via [examples/models/llama/install_requirements.sh](https://github.com/pytorch/executorch/blob/main/examples/models/llama/install_requirements.sh)
0 commit comments