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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,13 @@ set FORCE_CMAKE=1
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/
## Performance