Skip to content

Conversation

@atalman
Copy link
Contributor

@atalman atalman commented Apr 28, 2025

Resolves #151707 for CUDA Nvidia Magma builds.
Removes deprecated cuda 12.4 build.

Using pytorch/manylinux2_28-builder image for magma build creates circular dependency.

For a while for magma builds we used conda-builder image since it does not have circular dependency:
https://github.com/pytorch/builder/blob/release/2.4/magma/Makefile#L13
However during migration to pytorch/pytorch: #139888 we introduced circular dependency using Manylinux 2.28 docker image.

Hence using almalinux image which suppose to be general usage image

Please note: Magma builds using Docker build : https://github.com/pytorch/pytorch/blob/main/.ci/magma/README.md we can look into migrating them to Docker images if required as a followup BE change if needed

TODO: Make same change for rocm builds. I believe some more work for rocm is required, since maga-rocm is requires rocm dev, utils and lib to be installed : https://github.com/pytorch/pytorch/blob/main/.ci/docker/common/install_rocm.sh

cc @ptrblck @msaroufim @eqy @jerryzh168 @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd

@atalman atalman requested a review from a team as a code owner April 28, 2025 20:07
@pytorch-bot
Copy link

pytorch-bot bot commented Apr 28, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/152358

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 1 Pending

As of commit d8087d6 with merge base 5f4c8e4 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Apr 28, 2025
@facebook-github-bot facebook-github-bot added the module: rocm AMD GPU support for Pytorch label Apr 28, 2025
@atalman
Copy link
Contributor Author

atalman commented Apr 28, 2025

Discussed this approach with @jeffdaily for magma-rocm builds

@atalman atalman added module: cuda Related to torch.cuda, and CUDA support in general and removed module: rocm AMD GPU support for Pytorch labels Apr 28, 2025
Copy link
Contributor

@ZainRizvi ZainRizvi left a comment

Choose a reason for hiding this comment

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

Why is removing Cuda 12.4 relevant to using almalinux?

@atalman
Copy link
Contributor Author

atalman commented Apr 28, 2025

CUDA 12.4 was deprecated: #145544 - No reason keeping old build that we don't use

@atalman
Copy link
Contributor Author

atalman commented Apr 29, 2025

@pytorchmergebot merge -f "lint and magma builds are green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: Approvers from one of the following sets are needed:

  • OSS CI (alband, dagitses, pytorch/pytorch-dev-infra)
  • superuser (pytorch/metamates)
  • Core Reviewers (mruberry, lezcano, Skylion007, ngimel, peterbell10, ...)
  • Core Maintainers (soumith, gchanan, ezyang, dzhulgakov, malfet, ...)
Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@atalman
Copy link
Contributor Author

atalman commented Apr 29, 2025

@pytorchmergebot merge -f "lint and magma builds are green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

pytorchmergebot pushed a commit that referenced this pull request Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: cuda Related to torch.cuda, and CUDA support in general topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

difficulty creating magma tarball when new rocm or cuda versions are deployed

6 participants