Skip to content

Commit b6b2071

Browse files
authored
Update install instructions for Linux OpenBLAS
The instructions are different than they used to be. Source: https://github.com/ggerganov/llama.cpp#openblas
1 parent a05cfaf commit b6b2071

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ Otherwise, while installing it will build the llama.ccp x86 version which will b
4747
`llama.cpp` supports multiple BLAS backends for faster processing.
4848
Use the `FORCE_CMAKE=1` environment variable to force the use of `cmake` and install the pip package for the desired BLAS backend.
4949

50-
To install with OpenBLAS, set the `LLAMA_OPENBLAS=1` environment variable before installing:
50+
To install with OpenBLAS, set the `LLAMA_BLAS and LLAMA_BLAS_VENDOR` environment variables before installing:
5151

5252
```bash
53-
CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
53+
CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" FORCE_CMAKE=1 pip install llama-cpp-python
5454
```
5555

5656
To install with cuBLAS, set the `LLAMA_CUBLAS=1` environment variable before installing:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy