Fix broken compilation (PR 38919)

This commit is contained in:
Eugene Rakhmatulin
2026-04-03 10:22:10 -07:00
parent ed32612cdd
commit 4afca860a5

View File

@@ -204,7 +204,7 @@ RUN if [ -n "$VLLM_PRS" ]; then \
done; \ done; \
fi fi
# TEMPORARY PATCH for broken FP8 kernels # TEMPORARY PATCH for broken FP8 kernels - https://github.com/vllm-project/vllm/pull/35568
RUN curl -fsL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/35568.diff -o pr35568.diff \ RUN curl -fsL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/35568.diff -o pr35568.diff \
&& if git apply --reverse --check pr35568.diff 2>/dev/null; then \ && if git apply --reverse --check pr35568.diff 2>/dev/null; then \
echo "PR 35568 already applied, skipping."; \ echo "PR 35568 already applied, skipping."; \
@@ -214,6 +214,16 @@ RUN curl -fsL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pul
fi \ fi \
&& rm pr35568.diff && rm pr35568.diff
# TEMPORARY PATCH for broken compilation - https://github.com/vllm-project/vllm/pull/38919
RUN curl -fsL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/38919.diff -o pr38919.diff \
&& if git apply --reverse --check pr38919.diff 2>/dev/null; then \
echo "PR 38919 already applied, skipping."; \
else \
echo "Applying PR 38919..."; \
git apply -v pr38919.diff; \
fi \
&& rm pr38919.diff
# Prepare build requirements # Prepare build requirements
RUN --mount=type=cache,id=uv-cache,target=/root/.cache/uv \ RUN --mount=type=cache,id=uv-cache,target=/root/.cache/uv \
python3 use_existing_torch.py && \ python3 use_existing_torch.py && \