File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 16
16
XFORMERS_BUILD_VERSION : 0.0.29.post2+cu124
17
17
FLASHINFER_REF : v0.2.2.post1
18
18
FLASHINFER_BUILD_SUFFIX : cu124
19
- VLLM_REF : v0.8.2
20
- VLLM_BUILD_VERSION : 0.8.2
19
+ VLLM_PR : 16104
20
+ VLLM_BUILD_VERSION : 0.8.3
21
21
22
22
on :
23
23
push :
71
71
XFORMERS_BUILD_VERSION=${{ env.XFORMERS_BUILD_VERSION }}
72
72
FLASHINFER_REF=${{ env.FLASHINFER_REF }}
73
73
FLASHINFER_BUILD_SUFFIX=${{ env.FLASHINFER_BUILD_SUFFIX }}
74
- VLLM_REF=${{ env.VLLM_REF }}
74
+ VLLM_PR=${{ env.VLLM_PR }}
75
+ VLLM_BUILD_VERSION=${{ env.VLLM_BUILD_VERSION }}
75
76
cache-from : type=registry,ref=${{ env.GHCR_IMAGE }}:cache-cu${{ env.CUDA_TAG }}-${{ matrix.image_distro }}-${{ matrix.arch }}
76
77
cache-to : type=registry,ref=${{ env.GHCR_IMAGE }}:cache-cu${{ env.CUDA_TAG }}-${{ matrix.image_distro }}-${{ matrix.arch }},mode=max
77
78
context : .
Original file line number Diff line number Diff line change @@ -167,13 +167,19 @@ FROM build-base AS build-vllm
167
167
COPY --from=build-torch /wheels/*.whl wheels/
168
168
RUN uv pip install wheels/*
169
169
170
- ARG VLLM_REF=v0.8.2
171
- ARG VLLM_BUILD_VERSION=0.8.2
172
- ENV BUILD_VERSION=${VLLM_BUILD_VERSION:-0.8.2}
170
+ ARG VLLM_PR
171
+ ARG VLLM_REF=v0.8.3
172
+ ARG VLLM_BUILD_VERSION=0.8.3
173
+ ENV BUILD_VERSION=${VLLM_BUILD_VERSION:-${VLLM_REF#v}}
173
174
ENV SETUPTOOLS_SCM_PRETEND_VERSION=${BUILD_VERSION:-:}
174
175
RUN git clone https://github.com/vllm-project/vllm.git
175
176
RUN cd vllm && \
176
- git checkout ${VLLM_REF} && \
177
+ if [ -n ${VLLM_PR} ]; then \
178
+ git fetch origin pull/${VLLM_PR}/head:${VLLM_PR}
179
+ git checkout ${VLLM_PR}; \
180
+ else \
181
+ git checkout ${VLLM_REF}; \
182
+ fi && \
177
183
python use_existing_torch.py && \
178
184
uv pip install -r requirements/build.txt && \
179
185
uv build --wheel --no-build-isolation -o /wheels
You can’t perform that action at this time.
0 commit comments