Include a PR to fix broken torch bindings (vllm pr 40191)

This commit is contained in:
Eugene Rakhmatulin
2026-04-18 09:19:50 -07:00
parent d49fac1b8b
commit 5415c1fe9e

View File

@@ -231,6 +231,16 @@ RUN curl -fsL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pul
fi \
&& rm pr39959.diff
# TEMPORARY PATCH to fix torch bindings - https://github.com/vllm-project/vllm/pull/40191
RUN curl -fsL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/40191.diff -o pr40191.diff \
&& if git apply --reverse --check pr40191.diff 2>/dev/null; then \
echo "PR 40191 already applied, skipping."; \
else \
echo "Applying PR 40191..."; \
git apply -v pr40191.diff; \
fi \
&& rm pr40191.diff
# Prepare build requirements
RUN --mount=type=cache,id=uv-cache,target=/root/.cache/uv \
python3 use_existing_torch.py && \