Skip to content

Commit c3ed133

Browse files
authored
Merge pull request #177 from joelkurian/main
Updated installation instructions for BLAS backends
2 parents 3c96b43 + 17dc51a commit c3ed133

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ Use the `FORCE_CMAKE=1` environment variable to force the use of `cmake` and ins
3535
To install with OpenBLAS, set the `LLAMA_OPENBLAS=1` environment variable before installing:
3636

3737
```bash
38-
LLAMA_OPENBLAS=1 FORCE_CMAKE=1 pip install llama-cpp-python
38+
CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
3939
```
4040

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

4343
```bash
44-
LLAMA_CUBLAS=1 FORCE_CMAKE=1 pip install llama-cpp-python
44+
CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
4545
```
4646

4747
To install with CLBlast, set the `LLAMA_CLBLAST=1` environment variable before installing:
4848

4949
```bash
50-
LLAMA_CLBLAST=1 FORCE_CMAKE=1 pip install llama-cpp-python
50+
CMAKE_ARGS="-DLLAMA_CLBLAST=on" FORCE_CMAKE=1 pip install llama-cpp-python
5151
```
5252

5353

0 commit comments

Comments
 (0)