From d2b4e1a8b17b918f0abfa23f8e000126645e98c4 Mon Sep 17 00:00:00 2001 From: Jeximo Date: Tue, 30 Apr 2024 21:18:44 -0300 Subject: [PATCH] removed OpenBlas Linked to Linux build instructions --- README.md | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 8ccb14d3a..f08d3d36c 100644 --- a/README.md +++ b/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