Skip to content

Commit 7214901

Browse files
authored
Update qualcomm_README.md
1 parent 30209a6 commit 7214901

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/demo-apps/android/LlamaDemo/docs/delegates/qualcomm_README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ sh examples/demo-apps/android/LlamaDemo/setup-with-qnn.sh
212212
This is running the shell script which configures the required core ExecuTorch, Llama2/3, and Android libraries, builds them into AAR, and copies it to the app.
213213
Note: If you are building the Android app mentioned in the next section on a separate machine (i.e. MacOS but building and exporting for QNN backend on Linux), make sure you copy the aar file generated from setup-with-qnn script to "examples/demo-apps/android/LlamaDemo/app/libs" before building the Android app.
214214

215+
6. Set up the correct QNN version in gradle rule
216+
In app/build.gradle.kts, find the line `def qnnVersion = System.properties['qnnVersion']` and `implementation "com.qualcomm.qti:qnn-runtime:$qnnVersion"`. The gradle variable `qnnVersion` needs to be defined as the QNN SDK version (ex. 2.28). You can replace the line `def qnnVersion = System.properties['qnnVersion']` with `def qnnVersion = '2.28'` locally, or you can add `-DqnnVersion=2.28` when you trigger gradle build.
217+
215218

216219
## Run the Android Demo App
217220

0 commit comments

Comments
 (0)