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
b438a2e5
Unverified
Commit
b438a2e5
authored
Dec 27, 2024
by
kk
Committed by
GitHub
Dec 27, 2024
Browse files
Fix triton kernel performance regression (#2611)
Co-authored-by:
wunhuang
<
wunhuang@amd.com
>
parent
7ca751ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
docker/Dockerfile.rocm
docker/Dockerfile.rocm
+10
-0
No files found.
docker/Dockerfile.rocm
View file @
b438a2e5
...
@@ -13,6 +13,9 @@ ARG SGL_REPO="https://github.com/sgl-project/sglang"
...
@@ -13,6 +13,9 @@ ARG SGL_REPO="https://github.com/sgl-project/sglang"
ENV SGL_DEFAULT="main"
ENV SGL_DEFAULT="main"
ARG SGL_BRANCH=${SGL_DEFAULT}
ARG SGL_BRANCH=${SGL_DEFAULT}
ARG TRITON_REPO="https://github.com/triton-lang/triton.git"
ARG TRITON_COMMIT="845d75a"
RUN git clone ${SGL_REPO} \
RUN git clone ${SGL_REPO} \
&& cd sglang \
&& cd sglang \
&& if [ "${SGL_BRANCH}" = ${SGL_DEFAULT} ]; then \
&& if [ "${SGL_BRANCH}" = ${SGL_DEFAULT} ]; then \
...
@@ -30,6 +33,13 @@ RUN git clone ${SGL_REPO} \
...
@@ -30,6 +33,13 @@ 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 uninstall -y triton
RUN git clone ${TRITON_REPO} \
&& cd triton \
&& git checkout ${TRITON_COMMIT} \
&& cd python \
&& python3 setup.py install
# 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