From feb6a190aac7ecb230f8e4cc3bc9fa24e1e0a52b Mon Sep 17 00:00:00 2001 From: Jie Li Date: Mon, 27 Jul 2026 11:35:20 +0800 Subject: [PATCH] [None][fix] Drop stale benchmarks copies from Dockerfile.multi The benchmarks/ directory was removed from the repository in #16612, but Dockerfile.multi still copied it, so every build of the wheel/release target fails with: Dockerfile.multi:109 >>> COPY benchmarks benchmarks ERROR: failed to solve: failed to compute cache key: "/benchmarks": not found Remove the wheel-stage COPY along with the now-dangling bind mount and copy of /mnt/benchmarks in the release stage. Signed-off-by: Jie Li --- docker/Dockerfile.multi | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/Dockerfile.multi b/docker/Dockerfile.multi index 6ac69ef9c4fb..b8f5e8a745a9 100644 --- a/docker/Dockerfile.multi +++ b/docker/Dockerfile.multi @@ -106,7 +106,6 @@ RUN --mount=type=bind,source=docker/common,target=/opt/docker/common \ FROM ${DEVEL_IMAGE} AS wheel WORKDIR /src/tensorrt_llm -COPY benchmarks benchmarks COPY cpp cpp COPY docker docker COPY scripts scripts @@ -136,7 +135,6 @@ RUN --mount=type=bind,source=README.md,target=/mnt/ctx/README.md \ --mount=type=bind,source=cpp/include,target=/mnt/ctx/include \ --mount=type=bind,source=examples,target=/mnt/ctx/examples \ --mount=type=bind,from=wheel,source=/src/tensorrt_llm/build,target=/mnt/wheel \ - --mount=type=bind,from=wheel,source=/src/tensorrt_llm/benchmarks,target=/mnt/benchmarks \ # Copy build context files cp /mnt/ctx/README.md ./ && \ cp -r /mnt/ctx/docs ./docs && \ @@ -145,7 +143,6 @@ RUN --mount=type=bind,source=README.md,target=/mnt/ctx/README.md \ chmod -R a+w examples && \ # Copy wheel stage outputs cp /mnt/wheel/tensorrt_llm*.whl ./ && \ - cp -r /mnt/benchmarks ./benchmarks && \ # Create a symlink to installed package libraries ln -sv $(python3 -c 'import site; print(f"{site.getsitepackages()[0]}/tensorrt_llm/libs")') lib && \ test -f lib/libtensorrt_llm.so && \