From e7f2ee692f625cca1d9c8179628b0ab76c48e08c Mon Sep 17 00:00:00 2001 From: Eugene Rakhmatulin Date: Fri, 27 Mar 2026 09:30:26 -0700 Subject: [PATCH] Added temporary patch to apply PR38126 that fixes broken NVFP4 quants --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Dockerfile b/Dockerfile index db43354..5261c08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -196,6 +196,15 @@ 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 -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 RUN --mount=type=cache,id=ccache,target=/root/.ccache \