Skip to content

Commit 0e550d6

Browse files
authored
fix: copy workspace as part of ci-min stage (#1291) (#1301)
1 parent cf10bb3 commit 0e550d6

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

container/Dockerfile.sglang

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,9 @@ COPY --from=wheel_builder /opt/nvidia/nvda_nixl /opt/nvidia/nvda_nixl
325325
# Copy Cargo cache to avoid re-downloading dependencies
326326
COPY --from=wheel_builder $CARGO_HOME $CARGO_HOME
327327

328+
# Copy rest of the code
329+
COPY . /workspace
330+
328331
# Build C bindings, creates lib/bindings/c/include
329332
RUN cd /workspace/lib/bindings/c && cargo build --release --locked
330333

@@ -365,8 +368,6 @@ ARG GENAI_PERF_VERSION
365368
# Install genai-perf for benchmarking
366369
RUN uv pip install genai-perf==$GENAI_PERF_VERSION
367370

368-
COPY . /workspace
369-
370371
ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
371372

372373
CMD []

container/Dockerfile.tensorrt_llm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ COPY --from=wheel_builder /workspace /workspace
300300
# Copy Cargo cache to avoid re-downloading dependencies
301301
COPY --from=wheel_builder $CARGO_HOME $CARGO_HOME
302302

303+
# Copy rest of the code
304+
COPY . /workspace
305+
303306
# Build C bindings, creates lib/bindings/c/include
304307
RUN cd /workspace/lib/bindings/c && cargo build --release --locked
305308

container/Dockerfile.vllm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,9 @@ COPY --from=wheel_builder /opt/nvidia/nvda_nixl /opt/nvidia/nvda_nixl
403403
# Copy Cargo cache to avoid re-downloading dependencies
404404
COPY --from=wheel_builder $CARGO_HOME $CARGO_HOME
405405

406+
# Copy rest of the code
407+
COPY . /workspace
408+
406409
# Build C bindings, creates lib/bindings/c/include
407410
#
408411
# TODO: In theory the 'cargo build' in earlier stage covers this, we "just" need to copy the
@@ -447,8 +450,6 @@ ARG GENAI_PERF_VERSION
447450
# Install genai-perf for benchmarking
448451
RUN uv pip install genai-perf==$GENAI_PERF_VERSION
449452

450-
COPY . /workspace
451-
452453
ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
453454

454455
CMD []

0 commit comments

Comments
 (0)