From 889eaac8f880118ebd39f3b4edfe466464676736 Mon Sep 17 00:00:00 2001 From: rimoliga <53384203+rimoliga@users.noreply.github.com> Date: Sat, 1 Apr 2023 11:47:34 -0300 Subject: [PATCH] Update README.md Changed link to https://termux.dev/ as suggested in https://github.com/ggerganov/llama.cpp/pull/680#issuecomment-1492977742 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aa3097060..f5744eacc 100644 --- a/README.md +++ b/README.md @@ -301,7 +301,7 @@ And after 4.45 hours, you will have the final perplexity. ### Android -You can easily run `llama.cpp` on Android device with [termux](https://f-droid.org/en/packages/com.termux/). +You can easily run `llama.cpp` on Android device with [termux](https://termux.dev/). First, obtain the [Android NDK](https://developer.android.com/ndk) and then build with CMake: ``` $ mkdir build-android @@ -310,7 +310,7 @@ $ export NDK= $ cmake -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-23 -DCMAKE_C_FLAGS=-march=armv8.4a+dotprod .. $ make ``` -Install [termux](https://f-droid.org/en/packages/com.termux/) on your device and run `termux-setup-storage` to get access to your SD card. +Install [termux](https://termux.dev/) on your device and run `termux-setup-storage` to get access to your SD card. Finally, copy the `llama` binary and the model files to your device storage. Here is a demo of an interactive session running on Pixel 5 phone: https://user-images.githubusercontent.com/271616/225014776-1d567049-ad71-4ef2-b050-55b0b3b9274c.mp4