Skip to content

Add workflow to create source image#4030

Merged
mitchdz merged 51 commits intomainfrom
cuda-quantum-src
Feb 24, 2026
Merged

Add workflow to create source image#4030
mitchdz merged 51 commits intomainfrom
cuda-quantum-src

Conversation

@mitchdz
Copy link
Collaborator

@mitchdz mitchdz commented Feb 23, 2026

Create source image

This PR adds a new workflow build_package_sources.yml which creates a source image, which will contain all of the source code for the open source software we ship with our docker container.

If the source code can not be retrieved, for example libnvjitlink-13-0, the license for that package is retrieved and stored in the image.

Sucessful workflow run: https://github.com/NVIDIA/cuda-quantum/actions/runs/22323684022

Example images:

  • ghcr.io/nvidia/cuda-quantum-src:cu13-latest
  • ghcr.io/nvidia/cuda-quantum-src:cu12-latest

Image structure

/sources/
|-- apt
|-- pip
|-- scripts
`-- tpls
  • apt contains all the apt sources
  • pip contains all of the pip sources
  • scripts contains the scripts used to generate the source code
  • tpls contains the source code of the third party libraries we pin in cuda-quantum

Usage

This workflow is meant to be ran manually near the release, and therefore is not ran with regular CI automatically.

This workflow has workflow_run: enabled, and requires a manual where the user has to provide 2 values if you want to push to NGC:

  • push_to_NGC
  • environment

Omitted packages

At the time of this PR, the following packages have been omitted from including the source, and instead rely on the license:

apt

  • libnvjitlink-13-0

pip

  • cudensitymat-cu13==0.4.0
  • cupauliprop-cu13==0.2.0
  • cupy-cuda13x==13.6.0
  • cuquantum-cu13==26.1.0
  • custabilizer-cu13==0.2.0
  • custatevec-cu13==1.12.0
  • cutensor-cu13==2.5.0
  • cutensornet-cu13==2.11.0
  • nvidia-cuda-nvrtc==13.1.115
  • nvidia-cuda-runtime==13.1.80
  • nvidia-curand==10.4.1.81

Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Copy link
Collaborator

@1tnguyen 1tnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Work items to update and improve the code base

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants