Skip to content

[FEA] Add PyTorch base image option to container build #52

Description

@chloecrozier

The container only builds on nvcr.io/nvidia/cuda today (Dockerfile L26,
DAQIRI_BASE_TARGET L18). Downstream users who want to land packets on the GPU
and run Torch / TensorRT inference in the same process have to layer Torch on
top of the DAQIRI image themselves.

Suggested fixes:

  1. Keep the Dockerfile as-is and ship a small downstream Dockerfile.torch
    under examples/ that FROMs the DAQIRI runtime image and adds Torch.
  2. Add a torch option to DAQIRI_BASE_TARGET based on the NGC PyTorch image,
    alongside the existing dpdk / rdma / gpunetio / rivermax targets.

Ways to validate feature addition:
Validate with BASE_TARGET=<choice> scripts/build-container.sh,
daqiri_bench_raw_sw_loopback.yaml, and
python3 -c "import torch; print(torch.cuda.is_available())".

Activity

  1. self-assigned this
    on May 6, 2026
  2. added
    enhancement
    on May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions