diff --git a/examples/llava/MobileVLM-README.md b/examples/llava/MobileVLM-README.md index 1d18865ff..7965602b7 100644 --- a/examples/llava/MobileVLM-README.md +++ b/examples/llava/MobileVLM-README.md @@ -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 diff --git a/android/adb_run.sh b/examples/llava/android/adb_run.sh similarity index 100% rename from android/adb_run.sh rename to examples/llava/android/adb_run.sh diff --git a/android/build_64.sh b/examples/llava/android/build_64.sh similarity index 89% rename from android/build_64.sh rename to examples/llava/android/build_64.sh index 3982854e2..71b6fd3f7 100755 --- a/android/build_64.sh +++ b/examples/llava/android/build_64.sh @@ -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" \