Skip to content

Commit

Permalink
Add install with pip (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored Jan 9, 2024
1 parent 331848d commit 30720e7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ The core features of SGLang include:

## Install

### Method 1: With Pip
### Method 1: With pip
```
pip install "sglang[all]"
```

### Method 2: From Source
### Method 2: From source
```
git clone [email protected]:sgl-project/sglang.git
cd sglang
Expand Down
2 changes: 2 additions & 0 deletions python/sglang/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
__version__ == "0.1.0"

from sglang.api import *
from sglang.global_config import global_config
3 changes: 3 additions & 0 deletions python/upload_pypi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rm -rf dist
python3 -m build
python3 -m twine upload dist/*
File renamed without changes.

0 comments on commit 30720e7

Please sign in to comment.