From 8ddf63b9c75c1f515930ab5e40a7c84145fbaec7 Mon Sep 17 00:00:00 2001 From: Andrei Betlen Date: Tue, 12 Sep 2023 23:56:10 -0400 Subject: [PATCH] Remove reference to FORCE_CMAKE from docs --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 1c8c68a..7e64f99 100644 --- a/README.md +++ b/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: ```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: ```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: ```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: ```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: ```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 -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 $env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on" ``` -```ps -$env:FORCE_CMAKE = 1 -``` - Then, call `pip` after setting the variables: ``` pip install llama-cpp-python