From eca8931e7c8b0eb7d2eb72c41498f7977019f59c Mon Sep 17 00:00:00 2001 From: ShehrozKashif Date: Thu, 12 Sep 2024 13:42:02 +0500 Subject: [PATCH 1/2] corrected their must be 1 intead of on --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cbf1c4158..2d1b229db 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ All `llama.cpp` cmake build options can be set via the `CMAKE_ARGS` environment ```bash # Linux and Mac -CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" \ +CMAKE_ARGS="-DGGML_BLAS=1 -DGGML_BLAS_VENDOR=OpenBLAS" \ pip install llama-cpp-python ``` From a0f2046efc0a4ccd3dc470a6c796376c56102e96 Mon Sep 17 00:00:00 2001 From: ShehrozKashif Date: Thu, 12 Sep 2024 13:55:30 +0500 Subject: [PATCH 2/2] corrected the command --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2d1b229db..3e4f510e0 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ All `llama.cpp` cmake build options can be set via the `CMAKE_ARGS` environment ```bash # Linux and Mac -CMAKE_ARGS="-DGGML_BLAS=1 -DGGML_BLAS_VENDOR=OpenBLAS" \ +CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" \ pip install llama-cpp-python ``` @@ -154,7 +154,7 @@ pip install llama-cpp-python \ To install with Metal (MPS), set the `GGML_METAL=on` environment variable before installing: ```bash -CMAKE_ARGS="-DGGML_METAL=on" pip install llama-cpp-python +CMAKE_ARGS="-DGGML_METAL=1" pip install llama-cpp-python ``` **Pre-built Wheel (New)**