removed OpenBlas
Linked to Linux build instructions
This commit is contained in:
parent
57a37f19c2
commit
d2b4e1a8b1
1 changed files with 2 additions and 15 deletions
17
README.md
17
README.md
|
@ -979,13 +979,9 @@ https://user-images.githubusercontent.com/271616/225014776-1d567049-ad71-4ef2-b0
|
|||
|
||||
#### Build on Android using Termux (F-Droid)
|
||||
F-Droid Termux is an alternative to execute `llama.cpp` on an Android device(*no root required*).
|
||||
|
||||
Below are instructions to install `llama.cpp` including CPU and OpenBLAS inference.
|
||||
|
||||
If you opt to utilize OpenBLAS, you'll need to install the corresponding package.
|
||||
```
|
||||
apt update && apt upgrade -y
|
||||
apt install libopenblas
|
||||
apt install git
|
||||
```
|
||||
|
||||
Due to permission limitations in the Android API, it's essential to move your model inside the `~/` directory for best performance:
|
||||
|
@ -994,16 +990,7 @@ cd storage/downloads
|
|||
mv model.gguf ~/
|
||||
```
|
||||
|
||||
Build & run `llama.cpp`:
|
||||
```
|
||||
apt install git
|
||||
$HOME
|
||||
git clone https://github.com/ggerganov/llama.cpp
|
||||
cd llama.cpp
|
||||
cmake -B build -DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS && cd build && cmake --build . --config Release
|
||||
cd bin
|
||||
./main -m ~/model.gguf -p "Building a website can be done in 10 simple steps:\nStep 1:"
|
||||
```
|
||||
[Follow Linux Build instruction](https://github.com/ggerganov/llama.cpp#build) to build & run `llama.cpp`.
|
||||
|
||||
### Docker
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue