diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 379c5a84f..695a82fd1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,6 +1,6 @@ .github @merrymercy @zhyncs /docker @zhyncs @HaiShaw @ByronHsu -/docker/Dockerfile.npu @ping1jing2 +/docker/npu.Dockerfile @ping1jing2 /python/pyproject.toml @merrymercy @zhyncs /python/sglang/* @merrymercy @Ying1123 @zhyncs @hnyls2002 /python/sglang/srt/constrained @hnyls2002 diff --git a/Makefile b/Makefile index a8a1fbd88..d6ef19420 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ format: check-deps ## Format modified Python files using isort and black @echo "Formatting modified Python files..." git diff --name-only --diff-filter=M | grep '\.py$$' | xargs -I {} sh -c 'isort {} && black {}' -FILES_TO_UPDATE = docker/Dockerfile.rocm \ +FILES_TO_UPDATE = docker/rocm.Dockerfile \ python/pyproject.toml \ python/pyproject_other.toml \ python/sglang/version.py \ diff --git a/docs/platforms/amd_gpu.md b/docs/platforms/amd_gpu.md index e7612c22e..973a34fa8 100644 --- a/docs/platforms/amd_gpu.md +++ b/docs/platforms/amd_gpu.md @@ -60,7 +60,7 @@ pip install -e "python[all_hip]" ### Install Using Docker (Recommended) -The docker images are available on Docker Hub at [lmsysorg/sglang](https://hub.docker.com/r/lmsysorg/sglang/tags), built from [Dockerfile.rocm](https://github.com/sgl-project/sglang/tree/main/docker). +The docker images are available on Docker Hub at [lmsysorg/sglang](https://hub.docker.com/r/lmsysorg/sglang/tags), built from [rocm.Dockerfile](https://github.com/sgl-project/sglang/tree/main/docker). The steps below show how to build and use an image. @@ -68,7 +68,7 @@ The steps below show how to build and use an image. If you use pre-built images, you can skip this step and replace `sglang_image` with the pre-built image names in the steps below. ```bash - docker build -t sglang_image -f Dockerfile.rocm . + docker build -t sglang_image -f rocm.Dockerfile . ``` 2. Create a convenient alias. diff --git a/docs/platforms/ascend_npu.md b/docs/platforms/ascend_npu.md index c7d696961..b3b5ab75c 100644 --- a/docs/platforms/ascend_npu.md +++ b/docs/platforms/ascend_npu.md @@ -118,7 +118,7 @@ git clone https://github.com/sgl-project/sglang.git cd sglang/docker # Build the docker image -docker build -t -f Dockerfile.npu . +docker build -t -f npu.Dockerfile . alias drun='docker run -it --rm --privileged --network=host --ipc=host --shm-size=16g \ --device=/dev/davinci0 --device=/dev/davinci1 --device=/dev/davinci2 --device=/dev/davinci3 \ diff --git a/docs/platforms/cpu_server.md b/docs/platforms/cpu_server.md index d79a411de..6a04897e1 100644 --- a/docs/platforms/cpu_server.md +++ b/docs/platforms/cpu_server.md @@ -28,7 +28,7 @@ have been verified on 6th Gen Intel® Xeon® P-core platforms. ### Install Using Docker It is recommended to use Docker for setting up the SGLang environment. -A [Dockerfile](https://github.com/sgl-project/sglang/blob/main/docker/Dockerfile.xeon) is provided to facilitate the installation. +A [Dockerfile](https://github.com/sgl-project/sglang/blob/main/docker/xeon.Dockerfile) is provided to facilitate the installation. Replace `` below with your [HuggingFace access token](https://huggingface.co/docs/hub/en/security-tokens). ```bash @@ -37,7 +37,7 @@ git clone https://github.com/sgl-project/sglang.git cd sglang/docker # Build the docker image -docker build -t sglang-cpu:latest -f Dockerfile.xeon . +docker build -t sglang-cpu:latest -f xeon.Dockerfile . # Initiate a docker container docker run \ diff --git a/scripts/release/README.md b/scripts/release/README.md index f4196fdbd..e564cf1d4 100644 --- a/scripts/release/README.md +++ b/scripts/release/README.md @@ -15,7 +15,7 @@ python scripts/release/bump_sglang_version.py 0.5.3rc0 **Files updated:** - `Makefile` - `benchmark/deepseek_v3/README.md` -- `docker/Dockerfile.rocm` +- `docker/rocm.Dockerfile` - `docs/get_started/install.md` - `docs/platforms/amd_gpu.md` - `docs/platforms/ascend_npu.md` diff --git a/scripts/release/bump_sglang_version.py b/scripts/release/bump_sglang_version.py index 11f023d29..1bd347a3c 100755 --- a/scripts/release/bump_sglang_version.py +++ b/scripts/release/bump_sglang_version.py @@ -20,7 +20,7 @@ def main(): files_to_update = [ Path("benchmark/deepseek_v3/README.md"), - Path("docker/Dockerfile.rocm"), + Path("docker/rocm.Dockerfile"), Path("docs/get_started/install.md"), Path("docs/platforms/amd_gpu.md"), Path("docs/platforms/ascend_npu.md"),