File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 build-dev :
1010 if : ${{ github.repository == 'sgl-project/sglang' }}
1111 runs-on : ubuntu-22.04
12+
13+ strategy :
14+ matrix :
15+ variant :
16+ - base : lmsysorg/sglang:latest
17+ tag : deepep
18+ - base : lmsysorg/sglang:dev
19+ tag : dev-deepep
20+ - base : lmsysorg/sglang:blackwell
21+ tag : blackwell-deepep
22+
1223 steps :
1324 - name : Checkout repository
1425 uses : actions/checkout@v4
3041 username : ${{ secrets.DOCKERHUB_USERNAME }}
3142 password : ${{ secrets.DOCKERHUB_TOKEN }}
3243
33- - name : Build and Push DeepEP Image
44+ - name : Build and Push Docker Image
3445 run : |
35- docker build . -f docker/Dockerfile.deepep -t lmsysorg/sglang:deepep --no-cache
36- docker push lmsysorg/sglang:deepep
46+ docker build . -f docker/Dockerfile.deepep --build-arg BASE_IMAGE=${{ matrix.variant.base }} - t lmsysorg/sglang:${{ matrix.variant.tag }} --no-cache
47+ docker push lmsysorg/sglang:${{ matrix.variant.tag }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- FROM lmsysorg/sglang:latest
1+ ARG BASE_IMAGE
2+ FROM ${BASE_IMAGE}
23
34# CMake
45RUN apt-get update \
@@ -55,6 +56,9 @@ RUN tar -xf nvshmem_src_3.2.5-1.txz \
5556WORKDIR /sgl-workspace/nvshmem
5657RUN git apply /sgl-workspace/DeepEP/third-party/nvshmem.patch
5758
59+ RUN sed -i '1i#include <unistd.h>' /sgl-workspace/nvshmem/examples/moe_shuffle.cu && \
60+ cat /sgl-workspace/nvshmem/examples/moe_shuffle.cu
61+
5862WORKDIR /sgl-workspace/nvshmem
5963ENV CUDA_HOME=/usr/local/cuda
6064RUN NVSHMEM_SHMEM_SUPPORT=0 \
@@ -71,7 +75,7 @@ RUN NVSHMEM_SHMEM_SUPPORT=0 \
7175
7276WORKDIR /sgl-workspace/DeepEP
7377ENV NVSHMEM_DIR=/sgl-workspace/nvshmem/install
74- RUN NVSHMEM_DIR=/sgl-workspace/nvshmem/install pip install .
78+ RUN NVSHMEM_DIR=/sgl-workspace/nvshmem/install pip install --break-system-packages .
7579
7680# Set workspace
7781WORKDIR /sgl-workspace
Original file line number Diff line number Diff line change @@ -224,5 +224,8 @@ setopt HIST_FIND_NO_DUPS
224224setopt INC_APPEND_HISTORY
225225EOF
226226
227+ RUN set -euxo ; \
228+ curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/local/bin
229+
227230# Set workspace directory
228231WORKDIR /sgl-workspace/sglang
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments