From 7c2e08451a474972ce5a409b88d937f9cc08a243 Mon Sep 17 00:00:00 2001 From: Michael Goin Date: Tue, 23 Jun 2026 13:16:51 -0600 Subject: [PATCH] [Docker] Remove redundant flashinfer download-cubin step (#46517) Signed-off-by: mgoin Co-authored-by: Claude --- docker/Dockerfile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index d7823f3211..ef166665c5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -898,13 +898,6 @@ RUN --mount=type=cache,target=/opt/uv/cache \ fi; \ fi -# Download FlashInfer precompiled cubins AFTER all pip installs are done. -# This must run after the vLLM wheel and EP kernels installs above, because -# those can reinstall/touch flashinfer packages. Downloading cubins earlier -# (in the flashinfer-jit-cache layer) causes ~2.5 GB of layer duplication -# when a later pip install overwrites flashinfer package files. -RUN flashinfer show-config && flashinfer download-cubin - # CUDA image changed from /usr/local/nvidia to /usr/local/cuda in 12.8 but will # return to /usr/local/nvidia in 13.0 to allow container providers to mount drivers # consistently from the host (see https://github.com/vllm-project/vllm/issues/18859).