docs : clarify building Android on Termux
This commit is contained in:
parent
8c475b97b8
commit
2f8652383d
1 changed files with 4 additions and 2 deletions
|
@ -2,16 +2,18 @@
|
||||||
# Android
|
# Android
|
||||||
|
|
||||||
## Build on Android using Termux
|
## Build on Android using Termux
|
||||||
[Termux](https://github.com/termux/termux-app#installation) is a method to execute `llama.cpp` on an Android device (no root required).
|
[Termux](https://termux.dev/en/) is an Android terminal emulator and Linux environment app (no root required). With Termux, you can install and run `llama.cpp` as if the environment were Linux. Once in the Termux shell:
|
||||||
|
|
||||||
```
|
```
|
||||||
apt update && apt upgrade -y
|
apt update && apt upgrade -y
|
||||||
apt install git make cmake
|
apt install git make cmake
|
||||||
```
|
```
|
||||||
|
|
||||||
It's recommended to move your model inside the `~/` directory for best performance:
|
It's recommended to move your model inside the `~/` directory for best performance:
|
||||||
|
|
||||||
```
|
```
|
||||||
cd storage/downloads
|
cd storage/downloads
|
||||||
mv model.gguf ~/
|
mv {model}.gguf ~/
|
||||||
```
|
```
|
||||||
|
|
||||||
[Get the code](https://github.com/ggerganov/llama.cpp#get-the-code) & [follow the Linux build instructions](https://github.com/ggerganov/llama.cpp#build) to build `llama.cpp`.
|
[Get the code](https://github.com/ggerganov/llama.cpp#get-the-code) & [follow the Linux build instructions](https://github.com/ggerganov/llama.cpp#build) to build `llama.cpp`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue