File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
examples/demo-apps/android/ExecuTorchDemo Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,15 @@ cp ./examples/demo-apps/android/jni/libexecutorchdemo.so \
123
123
../examples/demo-apps/android/ExecuTorchDemo/app/src/main/jniLibs/arm64-v8a
124
124
` ` `
125
125
126
+ 3. * Qualcomm HTP Only:* Copy Qualcomm HTP runtime library
127
+
128
+ If Qualcomm HTP backend is used, then we need to copy additional libraries from Qualcomm SDK artifacts:
129
+
130
+ ` ` ` bash
131
+ cp libQnnHtp.so libQnnHtpV69Skel.so libQnnHtpStub.so libQnnSystem.so \
132
+ ../examples/demo-apps/android/ExecuTorchDemo/app/src/main/jniLibs/arm64-v8a
133
+ ` ` `
134
+
126
135
Later, this shared library will be loaded by ` NativePeer.java` in Java code.
127
136
128
137
Then return to the ` executorch` directory:
@@ -146,6 +155,12 @@ mkdir -p examples/demo-apps/android/ExecuTorchDemo/app/src/main/assets/
146
155
cp dl3_xnnpack_fp32.pte ic4_xnnpack_fp32.pte examples/demo-apps/android/ExecuTorchDemo/app/src/main/assets/
147
156
` ` `
148
157
158
+ 2. * Qualcomm HTP Only:* Copy HTP delegation models to the app:
159
+
160
+ ` ` ` bash
161
+ cp dlv3_qnn.pte ic4_qnn.pte examples/demo-apps/android/ExecuTorchDemo/app/src/main/assets/
162
+ ` ` `
163
+
149
164
# # Final Steps
150
165
151
166
1. Open the project ` examples/demo-apps/android/ExecuTorchDemo` with Android Studio.
You can’t perform that action at this time.
0 commit comments