From 174de6f0a82025c59e0134ba8b325f1104188c51 Mon Sep 17 00:00:00 2001 From: Eugene Rakhmatulin Date: Thu, 26 Mar 2026 08:58:04 -0700 Subject: [PATCH 1/2] temporary patch for PR38126 --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8401e85..41e47c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -201,6 +201,10 @@ RUN --mount=type=cache,id=uv-cache,target=/root/.cache/uv \ # TEMPORARY PATCH for broken vLLM build (unguarded Hopper code) - reverting PR #34758 and #34302 RUN curl -L https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/34758.diff | patch -p1 -R || echo "Cannot revert PR #34758, skipping" RUN curl -L https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/34302.diff | patch -p1 -R || echo "Cannot revert PR #34302, skipping" +# TEMPORARY PATCH for broken NVFP4 quants +RUN curl -sSL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/38126.diff -o pr38126.diff \ + && (git apply --reverse --check pr38126.diff || git apply pr38126.diff) \ + && rm pr38126.diff # Final Compilation RUN --mount=type=cache,id=ccache,target=/root/.ccache \ From e6ee108cdfaa119b72b498ecc0efe23c3edecc75 Mon Sep 17 00:00:00 2001 From: Eugene Rakhmatulin Date: Thu, 26 Mar 2026 11:43:44 -0700 Subject: [PATCH 2/2] Temporary patch for NVFP4 --- Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 41e47c8..c4c6b46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -202,8 +202,13 @@ RUN --mount=type=cache,id=uv-cache,target=/root/.cache/uv \ RUN curl -L https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/34758.diff | patch -p1 -R || echo "Cannot revert PR #34758, skipping" RUN curl -L https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/34302.diff | patch -p1 -R || echo "Cannot revert PR #34302, skipping" # TEMPORARY PATCH for broken NVFP4 quants -RUN curl -sSL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/38126.diff -o pr38126.diff \ - && (git apply --reverse --check pr38126.diff || git apply pr38126.diff) \ +RUN curl -fsL https://patch-diff.githubusercontent.com/raw/vllm-project/vllm/pull/38126.diff -o pr38126.diff \ + && if git apply --reverse --check pr38126.diff 2>/dev/null; then \ + echo "Patch already applied, skipping."; \ + else \ + echo "Applying patch..."; \ + git apply -v pr38126.diff; \ + fi \ && rm pr38126.diff # Final Compilation