mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
Update README
This commit is contained in:
@@ -23,6 +23,12 @@ Install from PyPI:
|
||||
pip install llama-cpp-python
|
||||
```
|
||||
|
||||
The above command will attempt to install the package and build 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 method defaults to using `make` to build `llama.cpp` on Linux / MacOS and `cmake` on Windows.
|
||||
You can force the use of `cmake` on Linux / MacOS setting the `FORCE_CMAKE=1` environment variable before installing.
|
||||
|
||||
## High-level API
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user