Skip to content

Commit cda9cec

Browse files
authored
Merge pull request ggml-org#212 from mzbac/patch-1
chore: add note for Mac m1 installation
2 parents cbac19b + 3718799 commit cda9cec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ pip install llama-cpp-python
2626
The above command will attempt to install the package and build build `llama.cpp` from source.
2727
This is the recommended installation method as it ensures that `llama.cpp` is built with the available optimizations for your system.
2828

29+
Note: If you are using Apple Silicon (M1) Mac, make sure you have installed a version of Python that supports arm64 architecture. For example:
30+
```
31+
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
32+
bash Miniforge3-MacOSX-arm64.sh
33+
```
34+
Otherwise, while installing it will build the llama.ccp x86 version which will be 10x slower on Apple Silicon (M1) Mac.
2935

3036
### Installation with OpenBLAS / cuBLAS / CLBlast
3137

0 commit comments

Comments
 (0)