summaryrefslogtreecommitdiff
path: root/examples/llava/android/build_64.sh
diff options
context:
space:
mode:
authorXiaotaoChen <chenxiaotao1234@gmail.com>2024-01-22 21:09:35 +0800
committerGitHub <noreply@github.com>2024-01-22 15:09:35 +0200
commit3ce7e8f8e7ccfce07e5947ac5f1f3f4628cf68ea (patch)
tree75c5f7d2eb2e6df853fe1fa8cb7119f3178a59a3 /examples/llava/android/build_64.sh
parentb2d80e105a59b54822edf7ce7f3ed5f317e96e21 (diff)
llava : MobileVLM support (#4954)
* MobileVLM native implementation * delete depthwise_conv_2d and permute_cpy relative code, replace the two by the existed functions, and opt ldp definition, support LLAMA_PERF option for CMake * move android script to example/llava directory * Fix the editor config checks --------- Co-authored-by: Chenxiaotao03 <chenxiaotao03@meituan.com>
Diffstat (limited to 'examples/llava/android/build_64.sh')
-rwxr-xr-xexamples/llava/android/build_64.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/llava/android/build_64.sh b/examples/llava/android/build_64.sh
new file mode 100755
index 00000000..71b6fd3f
--- /dev/null
+++ b/examples/llava/android/build_64.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+cmake ../../../../ \
+-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake \
+-DCMAKE_BUILD_TYPE=Release \
+-DANDROID_ABI="arm64-v8a" \
+-DANDROID_PLATFORM=android-23 $1
+
+make -j4