Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 980903d

Browse filesBrowse files
committed
Merge branch 'main' of github.com:abetlen/llama_cpp_python into main
2 parents 98bbd1c + f712a04 commit 980903d
Copy full SHA for 980903d

File tree

Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,20 @@ This allows you to use llama.cpp compatible models with any OpenAI compatible cl
6464

6565
To install the server package and get started:
6666

67+
Linux/MacOS
6768
```bash
6869
pip install llama-cpp-python[server]
6970
export MODEL=./models/7B/ggml-model.bin
7071
python3 -m llama_cpp.server
7172
```
7273

74+
Windows
75+
```cmd
76+
pip install llama-cpp-python[server]
77+
SET MODEL=..\models\7B\ggml-model.bin
78+
python3 -m llama_cpp.server
79+
```
80+
7381
Navigate to [http://localhost:8000/docs](http://localhost:8000/docs) to see the OpenAPI documentation.
7482

7583
## Docker image

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.