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
cadfae66
Unverified
Commit
cadfae66
authored
Oct 26, 2025
by
ishandhanani
Committed by
GitHub
Oct 26, 2025
Browse files
fix broken deepep/flashmla install in container by adding `--no-build-isolation` (#12170)
parent
da1766e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docker/Dockerfile
docker/Dockerfile
+2
-2
No files found.
docker/Dockerfile
View file @
cadfae66
...
@@ -138,7 +138,7 @@ RUN cd /sgl-workspace/DeepEP && \
...
@@ -138,7 +138,7 @@ RUN cd /sgl-workspace/DeepEP && \
echo
"Unsupported CUDA version:
$CUDA_VERSION
"
&&
exit
1
\
echo
"Unsupported CUDA version:
$CUDA_VERSION
"
&&
exit
1
\
;;
\
;;
\
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
--no-build-isolation
.
# Install flashmla
# Install flashmla
RUN
git clone https://github.com/deepseek-ai/FlashMLA.git flash-mla
&&
\
RUN
git clone https://github.com/deepseek-ai/FlashMLA.git flash-mla
&&
\
...
@@ -148,7 +148,7 @@ RUN git clone https://github.com/deepseek-ai/FlashMLA.git flash-mla && \
...
@@ -148,7 +148,7 @@ RUN git clone https://github.com/deepseek-ai/FlashMLA.git flash-mla && \
if
[
"
$CUDA_VERSION
"
=
"12.6.1"
]
;
then
\
if
[
"
$CUDA_VERSION
"
=
"12.6.1"
]
;
then
\
export
FLASH_MLA_DISABLE_SM100
=
1
;
\
export
FLASH_MLA_DISABLE_SM100
=
1
;
\
fi
&&
\
fi
&&
\
pip
install
-v
.
;
pip
install
--no-build-isolation
-v
.
;
# 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