Remove reference to FORCE_CMAKE from docs
This commit is contained in:
parent
109123c4f0
commit
8ddf63b9c7
1 changed files with 6 additions and 10 deletions
16
README.md
16
README.md
|
@ -52,45 +52,41 @@ Otherwise, while installing it will build the llama.ccp x86 version which will b
|
||||||
To install with OpenBLAS, set the `LLAMA_BLAS and LLAMA_BLAS_VENDOR` environment variables before installing:
|
To install with OpenBLAS, set the `LLAMA_BLAS and LLAMA_BLAS_VENDOR` environment variables before installing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" FORCE_CMAKE=1 pip install llama-cpp-python
|
CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
|
||||||
```
|
```
|
||||||
|
|
||||||
To install with cuBLAS, set the `LLAMA_CUBLAS=1` environment variable before installing:
|
To install with cuBLAS, set the `LLAMA_CUBLAS=1` environment variable before installing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
|
CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
|
||||||
```
|
```
|
||||||
|
|
||||||
To install with CLBlast, set the `LLAMA_CLBLAST=1` environment variable before installing:
|
To install with CLBlast, set the `LLAMA_CLBLAST=1` environment variable before installing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CMAKE_ARGS="-DLLAMA_CLBLAST=on" FORCE_CMAKE=1 pip install llama-cpp-python
|
CMAKE_ARGS="-DLLAMA_CLBLAST=on" pip install llama-cpp-python
|
||||||
```
|
```
|
||||||
|
|
||||||
To install with Metal (MPS), set the `LLAMA_METAL=on` environment variable before installing:
|
To install with Metal (MPS), set the `LLAMA_METAL=on` environment variable before installing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CMAKE_ARGS="-DLLAMA_METAL=on" FORCE_CMAKE=1 pip install llama-cpp-python
|
CMAKE_ARGS="-DLLAMA_METAL=on" pip install llama-cpp-python
|
||||||
```
|
```
|
||||||
|
|
||||||
To install with hipBLAS / ROCm support for AMD cards, set the `LLAMA_HIPBLAS=on` environment variable before installing:
|
To install with hipBLAS / ROCm support for AMD cards, set the `LLAMA_HIPBLAS=on` environment variable before installing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
CMAKE_ARGS="-DLLAMA_HIPBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
|
CMAKE_ARGS="-DLLAMA_HIPBLAS=on" pip install llama-cpp-python
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Windows remarks
|
#### Windows remarks
|
||||||
|
|
||||||
To set the variables `CMAKE_ARGS` and `FORCE_CMAKE` in PowerShell, follow the next steps (Example using, OpenBLAS):
|
To set the variables `CMAKE_ARGS`in PowerShell, follow the next steps (Example using, OpenBLAS):
|
||||||
|
|
||||||
```ps
|
```ps
|
||||||
$env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on"
|
$env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on"
|
||||||
```
|
```
|
||||||
|
|
||||||
```ps
|
|
||||||
$env:FORCE_CMAKE = 1
|
|
||||||
```
|
|
||||||
|
|
||||||
Then, call `pip` after setting the variables:
|
Then, call `pip` after setting the variables:
|
||||||
```
|
```
|
||||||
pip install llama-cpp-python
|
pip install llama-cpp-python
|
||||||
|
|
Loading…
Reference in a new issue