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
b6e0cfb5
Unverified
Commit
b6e0cfb5
authored
Jan 01, 2025
by
kk
Committed by
GitHub
Jan 01, 2025
Browse files
ROCm base image update (#2692)
Co-authored-by:
wunhuang
<
wunhuang@amd.com
>
parent
0d8d97b8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
docker/Dockerfile.rocm
docker/Dockerfile.rocm
+7
-1
python/pyproject.toml
python/pyproject.toml
+1
-1
No files found.
docker/Dockerfile.rocm
View file @
b6e0cfb5
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# docker build --build-arg SGL_BRANCH=v0.4.1.post3 -t v0.4.1.post3-rocm620 -f Dockerfile.rocm .
# docker build --build-arg SGL_BRANCH=v0.4.1.post3 -t v0.4.1.post3-rocm620 -f Dockerfile.rocm .
# default base image
# default base image
ARG BASE_IMAGE="rocm/vllm-dev:202410
22
"
ARG BASE_IMAGE="rocm/vllm-dev:202410
31-tuned
"
FROM $BASE_IMAGE AS base
FROM $BASE_IMAGE AS base
USER root
USER root
...
@@ -33,6 +33,12 @@ RUN git clone ${SGL_REPO} \
...
@@ -33,6 +33,12 @@ RUN git clone ${SGL_REPO} \
RUN cp -r /sgl-workspace/sglang /sglang
RUN cp -r /sgl-workspace/sglang /sglang
RUN python -m pip cache purge
RUN python -m pip cache purge
RUN pip install IPython \
&& pip install orjson \
&& pip install python-multipart \
&& pip install torchao \
&& pip install pybind11
RUN pip uninstall -y triton
RUN pip uninstall -y triton
RUN git clone ${TRITON_REPO} \
RUN git clone ${TRITON_REPO} \
&& cd triton \
&& cd triton \
...
...
python/pyproject.toml
View file @
b6e0cfb5
...
@@ -27,7 +27,7 @@ srt = ["sglang[runtime_common]", "torch", "vllm>=0.6.3.post1,<=0.6.4.post1", "cu
...
@@ -27,7 +27,7 @@ srt = ["sglang[runtime_common]", "torch", "vllm>=0.6.3.post1,<=0.6.4.post1", "cu
# HIP (Heterogeneous-computing Interface for Portability) for AMD
# HIP (Heterogeneous-computing Interface for Portability) for AMD
# => base docker rocm/vllm-dev:20241022, not from public vllm whl
# => base docker rocm/vllm-dev:20241022, not from public vllm whl
srt_hip
=
["sglang[runtime_common]
", "
torch
", "
vllm==
0.6.3
.dev
1
3
"]
srt_hip
=
["sglang[runtime_common]
", "
torch
", "
vllm==
0.6.3
.
post
2.
dev
1
"]
# xpu is not enabled in public vllm and torch whl,
# xpu is not enabled in public vllm and torch whl,
# need to follow https://docs.vllm.ai/en/latest/getting_started/xpu-installation.htmlinstall vllm
# need to follow https://docs.vllm.ai/en/latest/getting_started/xpu-installation.htmlinstall vllm
srt_xpu
=
["sglang[runtime_common]"]
srt_xpu
=
["sglang[runtime_common]"]
...
...
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