vLLM build-time PRs support

This commit is contained in:
Eugene Rakhmatulin
2026-02-03 14:14:11 -08:00
parent 1e5aa060b8
commit d7e9f17c2e
2 changed files with 35 additions and 0 deletions

View File

@@ -163,6 +163,16 @@ RUN --mount=type=cache,id=repo-cache,target=/repo-cache \
WORKDIR $VLLM_BASE_DIR/vllm
ARG VLLM_PRS=""
RUN if [ -n "$VLLM_PRS" ]; then \
echo "Applying PRs: $VLLM_PRS"; \
for pr in $VLLM_PRS; do \
echo "Fetching and applying PR #$pr..."; \
curl -fL "https://github.com/vllm-project/vllm/pull/${pr}.diff" | git apply -v; \
done; \
fi
ARG PRE_TRANSFORMERS=0
# Prepare build requirements