File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff 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
326326COPY --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
329332RUN cd /workspace/lib/bindings/c && cargo build --release --locked
330333
@@ -365,8 +368,6 @@ ARG GENAI_PERF_VERSION
365368# Install genai-perf for benchmarking
366369RUN uv pip install genai-perf==$GENAI_PERF_VERSION
367370
368- COPY . /workspace
369-
370371ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
371372
372373CMD []
Original file line number Diff line number Diff line change @@ -300,6 +300,9 @@ COPY --from=wheel_builder /workspace /workspace
300300# Copy Cargo cache to avoid re-downloading dependencies
301301COPY --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
304307RUN cd /workspace/lib/bindings/c && cargo build --release --locked
305308
Original file line number Diff line number Diff 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
404404COPY --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
448451RUN uv pip install genai-perf==$GENAI_PERF_VERSION
449452
450- COPY . /workspace
451-
452453ENTRYPOINT ["/opt/nvidia/nvidia_entrypoint.sh"]
453454
454455CMD []
You can’t perform that action at this time.
0 commit comments