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
6ce6eabb
Unverified
Commit
6ce6eabb
authored
Feb 14, 2025
by
Jesse Lopez
Committed by
GitHub
Feb 15, 2025
Browse files
Copy config files for MI300X to support in virtualized environments (#3505)
parent
4e23c961
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
docker/Dockerfile.rocm
docker/Dockerfile.rocm
+5
-0
No files found.
docker/Dockerfile.rocm
View file @
6ce6eabb
...
@@ -58,6 +58,11 @@ RUN git clone ${ATER_REPO} \
...
@@ -58,6 +58,11 @@ RUN git clone ${ATER_REPO} \
&& git submodule update --init --recursive \
&& git submodule update --init --recursive \
&& PREBUILD_KERNELS=1 GPU_ARCHS=gfx942 python3 setup.py develop
&& PREBUILD_KERNELS=1 GPU_ARCHS=gfx942 python3 setup.py develop
# Copy config files to support MI300X in virtualized environments (MI300X_VF). Symlinks will not be created in image build.
RUN find /sgl-workspace/sglang/python/sglang/srt/layers/quantization/configs/ \
/sgl-workspace/sglang/python/sglang/srt/layers/moe/fused_moe_triton/configs/ \
-type f -name '*MI300X*' | xargs -I {} sh -c 'vf_config=$(echo "$1" | sed "s/MI300X/MI300X_VF/"); cp "$1" "$vf_config"' -- {}
# Performance environment variable.
# Performance environment variable.
ENV HIP_FORCE_DEV_KERNARG=1
ENV HIP_FORCE_DEV_KERNARG=1
...
...
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