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
292a867a
"model/vscode:/vscode.git/clone" did not exist on "40b8fdbdcacb41b9cf42869051df765f66750036"
Unverified
Commit
292a867a
authored
Oct 05, 2025
by
Baizhou Zhang
Committed by
GitHub
Oct 05, 2025
Browse files
Add flashmla and fast hadamard transform to Dockerfile (#11235)
parent
8fd41eae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
docker/Dockerfile
docker/Dockerfile
+24
-0
No files found.
docker/Dockerfile
View file @
292a867a
ARG
CUDA_VERSION=12.9.1
ARG
CUDA_VERSION=12.9.1
FROM
nvidia/cuda:${CUDA_VERSION}-cudnn-devel-ubuntu22.04 AS base
FROM
nvidia/cuda:${CUDA_VERSION}-cudnn-devel-ubuntu22.04 AS base
ARG
TARGETARCH
ARG
BUILD_TYPE=all
ARG
BUILD_TYPE=all
ARG
BRANCH_TYPE=remote
ARG
BRANCH_TYPE=remote
ARG
DEEPEP_COMMIT=9af0e0d0e74f3577af1979c9b9e1ac2cad0104ee
ARG
DEEPEP_COMMIT=9af0e0d0e74f3577af1979c9b9e1ac2cad0104ee
ARG
FLASHMLA_COMMIT=1408756a88e52a25196b759eaf8db89d2b51b5a1
ARG
FAST_HADAMARD_TRANSFORM_COMMIT=f3cdeed95b0f3284b5df3da9b3311d3d0600ce2b
ARG
CMAKE_BUILD_PARALLEL_LEVEL=2
ARG
CMAKE_BUILD_PARALLEL_LEVEL=2
ARG
SGL_KERNEL_VERSION=0.3.12
ARG
SGL_KERNEL_VERSION=0.3.12
ENV
DEBIAN_FRONTEND=noninteractive \
ENV
DEBIAN_FRONTEND=noninteractive \
...
@@ -136,6 +139,27 @@ RUN cd /sgl-workspace/DeepEP && \
...
@@ -136,6 +139,27 @@ RUN cd /sgl-workspace/DeepEP && \
esac
&&
\
esac
&&
\
NVSHMEM_DIR
=
${
NVSHMEM_DIR
}
TORCH_CUDA_ARCH_LIST
=
"
${
CHOSEN_TORCH_CUDA_ARCH_LIST
}
"
pip
install
.
NVSHMEM_DIR
=
${
NVSHMEM_DIR
}
TORCH_CUDA_ARCH_LIST
=
"
${
CHOSEN_TORCH_CUDA_ARCH_LIST
}
"
pip
install
.
# Install flashmla
RUN if
[
"
$TARGETARCH
"
=
"amd64"
]
;
then
\
git clone https://github.com/deepseek-ai/FlashMLA.git flash-mla
&&
\
cd
flash-mla
&&
\
git checkout
${
FLASHMLA_COMMIT
}
&&
\
git submodule update
--init
--recursive
&&
\
pip
install
-v
.
;
\
fi
# Install fast-hadamard-transform
RUN if
[
"
$TARGETARCH
"
=
"amd64"
]
;
then
\
git clone https://github.com/Dao-AILab/fast-hadamard-transform
&&
\
cd
fast-hadamard-transform
&&
\
git checkout
${
FAST_HADAMARD_TRANSFORM_COMMIT
}
&&
\
pip
install
.
;
\
fi
# Install tilelang
RUN if
[
"
$TARGETARCH
"
=
"amd64"
]
;
then
\
pip
install
tilelang
==
0.1.6.post1
;
\
fi
# Python tools
# Python tools
RUN
python3
-m
pip
install
--no-cache-dir
\
RUN
python3
-m
pip
install
--no-cache-dir
\
...
...
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