move android script to example/llava directory

This commit is contained in:
Chenxiaotao03 2024-01-21 15:47:18 +08:00
parent 9303bbf1b1
commit c37859bf21
3 changed files with 4 additions and 4 deletions

View file

@ -59,10 +59,10 @@ Now both the LLaMA part and the image encoder is in the `MobileVLM-1.7B` directo
## Android compile and run
### compile
refer to `android/build_64.sh`
refer to `examples/llava/android/build_64.sh`
```sh
mkdir android/build_64
cd android/build_64
mkdir examples/llava/android/build_64
cd examples/llava/android/build_64
../build_64.sh
```
### run on Android

View file

@ -1,5 +1,5 @@
#!/bin/bash
cmake ../../ \
cmake ../../../../ \
-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake \
-DCMAKE_BUILD_TYPE=Release \
-DANDROID_ABI="arm64-v8a" \