Update llama.cpp-models.md for macOS (#2711)

This commit is contained in:
Meng-Yuan Huang 2023-06-16 11:00:24 +08:00 committed by GitHub
parent 646b0c889f
commit 772d4080b2
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,13 @@ set FORCE_CMAKE=1
pip install llama-cpp-python --no-cache-dir pip install llama-cpp-python --no-cache-dir
``` ```
#### macOS
```
pip uninstall -y llama-cpp-python
CMAKE_ARGS="-DLLAMA_METAL=on" FORCE_CMAKE=1 pip install llama-cpp-python --no-cache-dir
```
Here you can find the different compilation options for OpenBLAS / cuBLAS / CLBlast: https://pypi.org/project/llama-cpp-python/ Here you can find the different compilation options for OpenBLAS / cuBLAS / CLBlast: https://pypi.org/project/llama-cpp-python/
## Performance ## Performance