Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-platform Docker images and aarch64 wheels #548

Merged
merged 158 commits into from
Aug 16, 2023
Merged

Conversation

bettinaheim
Copy link
Collaborator

@bettinaheim bettinaheim commented Aug 10, 2023

This PR accomplishes the following:

  • Switches to use the NVIDIA hosted runners for CI and deployments
  • Enables building and testing of linux/arm64 docker images as part of CI
  • Pushes multi-platform Docker image for linux/arm64, linux/amd64 during deployment
  • Builds aarch64 Python wheels during CI and deployment
  • Revises the publishing logic in preparation of adding backend extensions to the Python wheels

A multi-platform build of the docker image (without tensornet and mgpu) can be found here: https://github.com/NVIDIA/cuda-quantum/pkgs/container/cuda-quantum/118117899?tag=workflows-ci

Some comments:
I can only test CI and deployment upon request ahead of time; the logic for local cache creation, for automatic deployment after PR merges, and when creating release branches unfortunately will only be tested once the PR is merged.

@bettinaheim bettinaheim temporarily deployed to ghcr-deployment August 11, 2023 09:31 — with GitHub Actions Inactive
@bettinaheim bettinaheim temporarily deployed to ghcr-deployment August 11, 2023 09:31 — with GitHub Actions Inactive
@bettinaheim bettinaheim temporarily deployed to ghcr-deployment August 11, 2023 09:31 — with GitHub Actions Inactive
@bettinaheim bettinaheim temporarily deployed to ghcr-deployment August 11, 2023 09:31 — with GitHub Actions Inactive
@bettinaheim bettinaheim temporarily deployed to ghcr-deployment August 11, 2023 09:31 — with GitHub Actions Inactive
@bettinaheim bettinaheim temporarily deployed to ghcr-deployment August 11, 2023 09:31 — with GitHub Actions Inactive
@bettinaheim
Copy link
Collaborator Author

I manually confirmed the publishing as well, so I'll pull it in.

@bettinaheim bettinaheim changed the title Linux/arm64 support for Docker images Multi-platform Docker images and aarch64 wheels Aug 16, 2023
@bettinaheim bettinaheim merged commit 8aee202 into main Aug 16, 2023
15 of 23 checks passed
@bettinaheim bettinaheim deleted the workflows/ci branch August 16, 2023 18:19
@github-actions github-actions bot locked and limited conversation to collaborators Aug 16, 2023
@bettinaheim bettinaheim added the enhancement New feature or request label Sep 27, 2023
@bettinaheim bettinaheim added this to the release 0.4.1 milestone Sep 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants