10000 Update install instructions for Linux OpenBLAS · MobinX/llama-cpp-python@b6b2071 · GitHub
[go: up one dir, main page]

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)
0