Merge pull request #368 from mattdennewitz/patch-1

Update README.md
This commit is contained in:
Andrei 2023-06-14 21:47:16 -04:00 committed by GitHub
commit 243c6fdca0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ Install from PyPI (requires a c compiler):
pip install llama-cpp-python pip install llama-cpp-python
``` ```
The above command will attempt to install the package and build build `llama.cpp` from source. The above command will attempt to install the package and build `llama.cpp` from source.
This is the recommended installation method as it ensures that `llama.cpp` is built with the available optimizations for your system. This is the recommended installation method as it ensures that `llama.cpp` is built with the available optimizations for your system.
If you have previously installed `llama-cpp-python` through pip and want to upgrade your version or rebuild the package with different compiler options, please add the following flags to ensure that the package is rebuilt correctly: If you have previously installed `llama-cpp-python` through pip and want to upgrade your version or rebuild the package with different compiler options, please add the following flags to ensure that the package is rebuilt correctly: