Add install with pip (#3)
This commit is contained in:
@@ -18,9 +18,12 @@ The core features of SGLang include:
|
|||||||
|
|
||||||
## Install
|
## 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
|
git clone git@github.com:sgl-project/sglang.git
|
||||||
cd sglang
|
cd sglang
|
||||||
|
|||||||
@@ -1,2 +1,4 @@
|
|||||||
|
__version__ == "0.1.0"
|
||||||
|
|
||||||
from sglang.api import *
|
from sglang.api import *
|
||||||
from sglang.global_config import global_config
|
from sglang.global_config import global_config
|
||||||
|
|||||||
3
python/upload_pypi.sh
Normal file
3
python/upload_pypi.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
rm -rf dist
|
||||||
|
python3 -m build
|
||||||
|
python3 -m twine upload dist/*
|
||||||
Reference in New Issue
Block a user