Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
30720e73
Unverified
Commit
30720e73
authored
Jan 09, 2024
by
Lianmin Zheng
Committed by
GitHub
Jan 09, 2024
Browse files
Add install with pip (#3)
parent
331848de
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
README.md
README.md
+5
-2
python/sglang/__init__.py
python/sglang/__init__.py
+2
-0
python/upload_pypi.sh
python/upload_pypi.sh
+3
-0
scripts/format.sh
scripts/format.sh
+0
-0
No files found.
README.md
View file @
30720e73
...
@@ -18,9 +18,12 @@ The core features of SGLang include:
...
@@ -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
S
ource
### Method 2: From
s
ource
```
```
git clone git@github.com:sgl-project/sglang.git
git clone git@github.com:sgl-project/sglang.git
cd sglang
cd sglang
...
...
python/sglang/__init__.py
View file @
30720e73
__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
python/upload_pypi.sh
0 → 100644
View file @
30720e73
rm
-rf
dist
python3
-m
build
python3
-m
twine upload dist/
*
format.sh
→
scripts/
format.sh
View file @
30720e73
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment