@@ -40,29 +40,12 @@ RUN --mount=type=secret,id=github_token \
4040 # Install Torch
4141 pip install torch==2.8.0 torchvision torchaudio pytorch-triton-xpu==3.4.0 --index-url https://download.pytorch.org/whl/xpu
4242
43- # Install vllm from source
44- RUN --mount=type=secret,id=github_token \
45- cd /root && \
46- . /miniforge3/bin/activate && \
47- conda activate py${PYTHON_VERSION} && \
48- echo "Building vllm/sglang from source ..." && \
49- git clone https://github.com/zhuyuhua-v/vllm.git && \
50- cd vllm && \
51- git checkout yuhua/deepseek && \
52- pip install setuptools_scm --root-user-action=ignore && \
53- pip install setuptools==75.6.0 packaging==24.2 --root-user-action=ignore && \
54- VLLM_TARGET_DEVICE=xpu python setup.py install
55-
5643# Install SGlang from source
5744RUN --mount=type=secret,id=github_token \
5845 # Install vllm from source
5946 cd /root && \
6047 . /miniforge3/bin/activate && \
6148 conda activate py${PYTHON_VERSION} && \
62- echo "cloning ${SG_LANG_BRANCH} from ${SG_LANG_REPO}" && \
63- git clone --branch ${SG_LANG_BRANCH} --single-branch ${SG_LANG_REPO} && \
64- cd sglang && \
65- pip install -e "python[all_xpu]" --root-user-action=ignore && \
6649 # Clone sgl-kernel and build sglang-kernel...
6750 echo "cloning ${SG_LANG_KERNEL_REPO} from ${SG_LANG_KERNEL_BRANCH}" && \
6851 git clone --branch ${SG_LANG_KERNEL_BRANCH} --single-branch ${SG_LANG_KERNEL_REPO} && \
0 commit comments