Support Blackwell DeepEP docker images (#6868)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM lmsysorg/sglang:latest
|
||||
ARG BASE_IMAGE
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
# CMake
|
||||
RUN apt-get update \
|
||||
@@ -55,6 +56,9 @@ RUN tar -xf nvshmem_src_3.2.5-1.txz \
|
||||
WORKDIR /sgl-workspace/nvshmem
|
||||
RUN git apply /sgl-workspace/DeepEP/third-party/nvshmem.patch
|
||||
|
||||
RUN sed -i '1i#include <unistd.h>' /sgl-workspace/nvshmem/examples/moe_shuffle.cu && \
|
||||
cat /sgl-workspace/nvshmem/examples/moe_shuffle.cu
|
||||
|
||||
WORKDIR /sgl-workspace/nvshmem
|
||||
ENV CUDA_HOME=/usr/local/cuda
|
||||
RUN NVSHMEM_SHMEM_SUPPORT=0 \
|
||||
@@ -71,7 +75,7 @@ RUN NVSHMEM_SHMEM_SUPPORT=0 \
|
||||
|
||||
WORKDIR /sgl-workspace/DeepEP
|
||||
ENV NVSHMEM_DIR=/sgl-workspace/nvshmem/install
|
||||
RUN NVSHMEM_DIR=/sgl-workspace/nvshmem/install pip install .
|
||||
RUN NVSHMEM_DIR=/sgl-workspace/nvshmem/install pip install --break-system-packages .
|
||||
|
||||
# Set workspace
|
||||
WORKDIR /sgl-workspace
|
||||
|
||||
Reference in New Issue
Block a user