File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
examples/demo-apps/android/LlamaDemo Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ cmake examples/models/llama2 \
34
34
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK /build/cmake/android.toolchain.cmake \
35
35
-DANDROID_ABI=" $ANDROID_ABI " \
36
36
-DCMAKE_INSTALL_PREFIX=" ${CMAKE_OUT} " \
37
+ -DEXECUTORCH_USE_TIKTOKEN=" ${EXECUTORCH_USE_TIKTOKEN} " \
37
38
-DEXECUTORCH_BUILD_KERNELS_CUSTOM=ON \
38
39
-DCMAKE_BUILD_TYPE=Release \
39
40
-B" ${CMAKE_OUT} " /examples/models/llama2
@@ -45,6 +46,7 @@ cmake extension/android \
45
46
-DANDROID_ABI=" ${ANDROID_ABI} " \
46
47
-DCMAKE_INSTALL_PREFIX=" ${CMAKE_OUT} " \
47
48
-DEXECUTORCH_BUILD_LLAMA_JNI=ON \
49
+ -DEXECUTORCH_USE_TIKTOKEN=" ${EXECUTORCH_USE_TIKTOKEN} " \
48
50
-DCMAKE_BUILD_TYPE=Release \
49
51
-B" ${CMAKE_OUT} " /extension/android
50
52
You can’t perform that action at this time.
0 commit comments