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
f774a0d2
Unverified
Commit
f774a0d2
authored
Apr 11, 2025
by
Yineng Zhang
Committed by
GitHub
Apr 11, 2025
Browse files
feat: add blackwell Dockerfile (#5302)
parent
60bcbf2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
docker/Dockerfile.blackwell
docker/Dockerfile.blackwell
+19
-0
python/pyproject.toml
python/pyproject.toml
+11
-0
No files found.
docker/Dockerfile.blackwell
0 → 100644
View file @
f774a0d2
ARG CUDA_VERSION=12.8.1
FROM pytorch/manylinux2_28-builder:cuda12.8
ARG BUILD_TYPE=all
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /sgl-workspace
RUN pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
RUN pip3 install nvidia-nccl-cu12==2.26.2.post1 \
&& pip3 install https://github.com/sgl-project/whl/releases/download/v0.0.8.post1/sgl_kernel-0.0.8.post1+cu128-cp39-abi3-manylinux2014_x86_64.whl \
&& pip3 install setuptools==75.0.0 wheel==0.41.0 scikit-build-core
RUN git clone --depth=1 https://github.com/sgl-project/sglang.git \
&& pip3 install -e "python[blackwell]"
ENV DEBIAN_FRONTEND=interactive
python/pyproject.toml
View file @
f774a0d2
...
...
@@ -57,6 +57,17 @@ srt = [
"einops"
,
]
blackwell
=
[
"sglang[runtime_common]"
,
"sgl-kernel"
,
"torch"
,
"torchvision"
,
"cuda-python"
,
"outlines>=0.0.44,<=0.1.11"
,
"partial_json_parser"
,
"einops"
,
]
# HIP (Heterogeneous-computing Interface for Portability) for AMD
# => base docker rocm/vllm-dev:20250114, not from public vllm whl
srt_hip
=
[
...
...
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