"git@developer.sourcefind.cn:OpenDAS/torch-cluster.git" did not exist on "3d682e5ce3d56445484934135f660660cfbacfbd"
Unverified Commit b4d2da10 authored by Vincent Zhong's avatar Vincent Zhong Committed by GitHub
Browse files

[docs] upd docker files names everywhere (#12133)

parent b72f9f08
.github @merrymercy @zhyncs .github @merrymercy @zhyncs
/docker @zhyncs @HaiShaw @ByronHsu /docker @zhyncs @HaiShaw @ByronHsu
/docker/Dockerfile.npu @ping1jing2 /docker/npu.Dockerfile @ping1jing2
/python/pyproject.toml @merrymercy @zhyncs /python/pyproject.toml @merrymercy @zhyncs
/python/sglang/* @merrymercy @Ying1123 @zhyncs @hnyls2002 /python/sglang/* @merrymercy @Ying1123 @zhyncs @hnyls2002
/python/sglang/srt/constrained @hnyls2002 /python/sglang/srt/constrained @hnyls2002
......
...@@ -16,7 +16,7 @@ format: check-deps ## Format modified Python files using isort and black ...@@ -16,7 +16,7 @@ format: check-deps ## Format modified Python files using isort and black
@echo "Formatting modified Python files..." @echo "Formatting modified Python files..."
git diff --name-only --diff-filter=M | grep '\.py$$' | xargs -I {} sh -c 'isort {} && black {}' 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.toml \
python/pyproject_other.toml \ python/pyproject_other.toml \
python/sglang/version.py \ python/sglang/version.py \
......
...@@ -60,7 +60,7 @@ pip install -e "python[all_hip]" ...@@ -60,7 +60,7 @@ pip install -e "python[all_hip]"
### Install Using Docker (Recommended) ### 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. 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. ...@@ -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. 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 ```bash
docker build -t sglang_image -f Dockerfile.rocm . docker build -t sglang_image -f rocm.Dockerfile .
``` ```
2. Create a convenient alias. 2. Create a convenient alias.
......
...@@ -118,7 +118,7 @@ git clone https://github.com/sgl-project/sglang.git ...@@ -118,7 +118,7 @@ git clone https://github.com/sgl-project/sglang.git
cd sglang/docker cd sglang/docker
# Build the docker image # Build the docker image
docker build -t <image_name> -f Dockerfile.npu . docker build -t <image_name> -f npu.Dockerfile .
alias drun='docker run -it --rm --privileged --network=host --ipc=host --shm-size=16g \ 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 \ --device=/dev/davinci0 --device=/dev/davinci1 --device=/dev/davinci2 --device=/dev/davinci3 \
......
...@@ -28,7 +28,7 @@ have been verified on 6th Gen Intel® Xeon® P-core platforms. ...@@ -28,7 +28,7 @@ have been verified on 6th Gen Intel® Xeon® P-core platforms.
### Install Using Docker ### Install Using Docker
It is recommended to use Docker for setting up the SGLang environment. 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 `<secret>` below with your [HuggingFace access token](https://huggingface.co/docs/hub/en/security-tokens). Replace `<secret>` below with your [HuggingFace access token](https://huggingface.co/docs/hub/en/security-tokens).
```bash ```bash
...@@ -37,7 +37,7 @@ git clone https://github.com/sgl-project/sglang.git ...@@ -37,7 +37,7 @@ git clone https://github.com/sgl-project/sglang.git
cd sglang/docker cd sglang/docker
# Build the docker image # 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 # Initiate a docker container
docker run \ docker run \
......
...@@ -15,7 +15,7 @@ python scripts/release/bump_sglang_version.py 0.5.3rc0 ...@@ -15,7 +15,7 @@ python scripts/release/bump_sglang_version.py 0.5.3rc0
**Files updated:** **Files updated:**
- `Makefile` - `Makefile`
- `benchmark/deepseek_v3/README.md` - `benchmark/deepseek_v3/README.md`
- `docker/Dockerfile.rocm` - `docker/rocm.Dockerfile`
- `docs/get_started/install.md` - `docs/get_started/install.md`
- `docs/platforms/amd_gpu.md` - `docs/platforms/amd_gpu.md`
- `docs/platforms/ascend_npu.md` - `docs/platforms/ascend_npu.md`
......
...@@ -20,7 +20,7 @@ def main(): ...@@ -20,7 +20,7 @@ def main():
files_to_update = [ files_to_update = [
Path("benchmark/deepseek_v3/README.md"), Path("benchmark/deepseek_v3/README.md"),
Path("docker/Dockerfile.rocm"), Path("docker/rocm.Dockerfile"),
Path("docs/get_started/install.md"), Path("docs/get_started/install.md"),
Path("docs/platforms/amd_gpu.md"), Path("docs/platforms/amd_gpu.md"),
Path("docs/platforms/ascend_npu.md"), Path("docs/platforms/ascend_npu.md"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment