Skip to content

Commit e00beb1

Browse files
committed
Update README
1 parent 5423d04 commit e00beb1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ Install from PyPI:
2323
pip install llama-cpp-python
2424
```
2525

26+
The above command will attempt to install the package and build build `llama.cpp` from source.
27+
This is the recommended installation method as it ensures that `llama.cpp` is built with the available optimizations for your system.
28+
29+
This method defaults to using `make` to build `llama.cpp` on Linux / MacOS and `cmake` on Windows.
30+
You can force the use of `cmake` on Linux / MacOS setting the `FORCE_CMAKE=1` environment variable before installing.
31+
2632
## High-level API
2733

2834
```python

0 commit comments

Comments
 (0)