Skip to content

Commit 84022c0

Browse files
authored
Release v0.4.6 (#5795)
1 parent f9fb33e commit 84022c0

File tree

7 files changed

+14
-13
lines changed

7 files changed

+14
-13
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ FILES_TO_UPDATE = docker/Dockerfile.rocm \
2020
python/pyproject.toml \
2121
python/sglang/version.py \
2222
docs/developer/setup_github_runner.md \
23-
docs/start/install.md
23+
docs/start/install.md \
24+
benchmark/deepseek_v3/README.md
2425

2526
update: ## Update version numbers across project files. Usage: make update <new_version>
2627
@if [ -z "$(filter-out $@,$(MAKECMDGOALS))" ]; then \

benchmark/deepseek_v3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Add [performance optimization options](#performance-optimization-options) as nee
3333

3434
```bash
3535
# Installation
36-
pip install "sglang[all]>=0.4.5.post3"
36+
pip install "sglang[all]>=0.4.6"
3737

3838
# Launch
3939
python3 -m sglang.launch_server --model deepseek-ai/DeepSeek-V3 --tp 8 --trust-remote-code

docker/Dockerfile.rocm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Usage (to build SGLang ROCm docker image):
2-
# docker build --build-arg SGL_BRANCH=v0.4.5.post3 -t v0.4.5.post3-rocm630 -f Dockerfile.rocm .
2+
# docker build --build-arg SGL_BRANCH=v0.4.6 -t v0.4.6-rocm630 -f Dockerfile.rocm .
33

44
# default base image
55
ARG BASE_IMAGE="rocm/sgl-dev:vllm20250114"

docs/developer/setup_github_runner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ docker pull nvidia/cuda:12.1.1-devel-ubuntu22.04
1111
# Nvidia
1212
docker run --shm-size 128g -it -v /tmp/huggingface:/hf_home --gpus all nvidia/cuda:12.1.1-devel-ubuntu22.04 /bin/bash
1313
# AMD
14-
docker run --rm --device=/dev/kfd --device=/dev/dri --group-add video --shm-size 128g -it -v /tmp/huggingface:/hf_home lmsysorg/sglang:v0.4.5.post3-rocm630 /bin/bash
14+
docker run --rm --device=/dev/kfd --device=/dev/dri --group-add video --shm-size 128g -it -v /tmp/huggingface:/hf_home lmsysorg/sglang:v0.4.6-rocm630 /bin/bash
1515
# AMD just the last 2 GPUs
16-
docker run --rm --device=/dev/kfd --device=/dev/dri/renderD176 --device=/dev/dri/renderD184 --group-add video --shm-size 128g -it -v /tmp/huggingface:/hf_home lmsysorg/sglang:v0.4.5.post3-rocm630 /bin/bash
16+
docker run --rm --device=/dev/kfd --device=/dev/dri/renderD176 --device=/dev/dri/renderD184 --group-add video --shm-size 128g -it -v /tmp/huggingface:/hf_home lmsysorg/sglang:v0.4.6-rocm630 /bin/bash
1717
```
1818

1919
### Step 2: Configure the runner by `config.sh`

docs/start/install.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ It is recommended to use uv to install the dependencies for faster installation:
1111
```bash
1212
pip install --upgrade pip
1313
pip install uv
14-
uv pip install "sglang[all]>=0.4.5.post3"
14+
uv pip install "sglang[all]>=0.4.6"
1515
```
1616

1717
**Quick Fixes to Common Problems**
@@ -29,7 +29,7 @@ uv pip install "sglang[all]>=0.4.5.post3"
2929

3030
```bash
3131
# Use the last release branch
32-
git clone -b v0.4.5.post3 https://github.com/sgl-project/sglang.git
32+
git clone -b v0.4.6 https://github.com/sgl-project/sglang.git
3333
cd sglang
3434

3535
pip install --upgrade pip
@@ -44,7 +44,7 @@ Note: For AMD ROCm system with Instinct/MI GPUs, do following instead:
4444

4545
```bash
4646
# Use the last release branch
47-
git clone -b v0.4.5.post3 https://github.com/sgl-project/sglang.git
47+
git clone -b v0.4.6 https://github.com/sgl-project/sglang.git
4848
cd sglang
4949

5050
pip install --upgrade pip
@@ -73,7 +73,7 @@ docker run --gpus all \
7373
Note: For AMD ROCm system with Instinct/MI GPUs, it is recommended to use `docker/Dockerfile.rocm` to build images, example and usage as below:
7474

7575
```bash
76-
docker build --build-arg SGL_BRANCH=v0.4.5.post3 -t v0.4.5.post3-rocm630 -f Dockerfile.rocm .
76+
docker build --build-arg SGL_BRANCH=v0.4.6 -t v0.4.6-rocm630 -f Dockerfile.rocm .
7777

7878
alias drun='docker run -it --rm --network=host --device=/dev/kfd --device=/dev/dri --ipc=host \
7979
--shm-size 16G --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined \
@@ -82,11 +82,11 @@ alias drun='docker run -it --rm --network=host --device=/dev/kfd --device=/dev/d
8282
drun -p 30000:30000 \
8383
-v ~/.cache/huggingface:/root/.cache/huggingface \
8484
--env "HF_TOKEN=<secret>" \
85-
v0.4.5.post3-rocm630 \
85+
v0.4.6-rocm630 \
8686
python3 -m sglang.launch_server --model-path meta-llama/Llama-3.1-8B-Instruct --host 0.0.0.0 --port 30000
8787

8888
# Till flashinfer backend available, --attention-backend triton --sampling-backend pytorch are set by default
89-
drun v0.4.5.post3-rocm630 python3 -m sglang.bench_one_batch --batch-size 32 --input 1024 --output 128 --model amd/Meta-Llama-3.1-8B-Instruct-FP8-KV --tp 8 --quantization fp8
89+
drun v0.4.6-rocm630 python3 -m sglang.bench_one_batch --batch-size 32 --input 1024 --output 128 --model amd/Meta-Llama-3.1-8B-Instruct-FP8-KV --tp 8 --quantization fp8
9090
```
9191

9292
## Method 4: Using docker compose

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "sglang"
7-
version = "0.4.5.post3"
7+
version = "0.4.6"
88
description = "SGLang is yet another fast serving framework for large language models and vision language models."
99
readme = "README.md"
1010
requires-python = ">=3.8"

python/sglang/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.4.5.post3"
1+
__version__ = "0.4.6"

0 commit comments

Comments
 (0)