Add install with pip (#3)

This commit is contained in:
Lianmin Zheng
2024-01-09 12:43:40 -08:00
committed by GitHub
parent 331848de9d
commit 30720e732c
4 changed files with 10 additions and 2 deletions

View File

@@ -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 git@github.com:sgl-project/sglang.git
cd sglang

View File

@@ -1,2 +1,4 @@
__version__ == "0.1.0"
from sglang.api import *
from sglang.global_config import global_config

3
python/upload_pypi.sh Normal file
View File

@@ -0,0 +1,3 @@
rm -rf dist
python3 -m build
python3 -m twine upload dist/*