Skip to content

[BE] Drop unused CUDA 12.8 and ROCm 7.0 Docker image builds - #181273

Closed
atalman wants to merge 1 commit into
pytorch:mainfrom
atalman:remove_unused_docker
Closed

atalman wants to merge 1 commit into
pytorch:mainfrom
atalman:remove_unused_docker

Conversation

@atalman

@atalman atalman commented Apr 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Remove cuda12.8 rows (x86_64 + aarch64) and the rocm7.0 row from
    .github/workflows/build-manywheel-images.yml.
  • Drop cuda12.8 and rocm7.0 from the tag matrix in .github/workflows/build-almalinux-images.yml.

Neither tag is referenced by any downstream consumer — generate_binary_build_matrix.py pins
CUDA_ARCHES = ["12.6", "13.0", "13.2"] and ROCM_ARCHES = ["7.1", "7.2"], so these image builds were
producing tags that no binary/manywheel/test job pulls. Removing them cuts wasted Docker build
cost with no behavior change.

Test plan

  • build-manywheel-images workflow builds only tags that appear in MANYWHEEL_CONTAINER_IMAGES /
    CUDA_ARCHES / ROCM_ARCHES.
  • build-almalinux-images workflow matrix matches the active CUDA/ROCm sets.
  • Verify no workflow in .github/workflows/ still references :cuda12.8 or :rocm7.0 after the change.

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @jataylo @hongxiayang @naromero77amd @pragupta @jerrymannil @xinyazhang

CUDA 12.8 and ROCm 7.0 are not in the manywheel or almalinux matrices
(CUDA_ARCHES = 12.6/13.0/13.2, ROCM_ARCHES = 7.1/7.2), so these image
builds produce tags that no downstream job consumes.

Authored with Claude.
@atalman
atalman requested a review from a team as a code owner April 23, 2026 19:07
@pytorch-bot

pytorch-bot Bot commented Apr 23, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

⏳ No Failures, 23 Pending

As of commit 57416dc with merge base b141423 (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 module: rocm AMD GPU support for Pytorch topic: not user facing topic category labels Apr 23, 2026
@atalman

atalman commented Apr 23, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot merge -f "lint is green"

@pytorchmergebot

Copy link
Copy Markdown
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

keanucz pushed a commit to keanucz/pytorch that referenced this pull request May 5, 2026
Resolve merge conflict between the local branch and upstream/main in
.github/workflows/build-manywheel-images.yml.

Upstream changes that caused the conflict:
- Dropped cuda12.8 and cuda12.9 aarch64 build matrix entries (PRs pytorch#179158, pytorch#181273)
- Changed the aarch64 CUDA runner from linux.arm64.2xlarge.ephemeral to
  linux.arm64.m7g.4xlarge.ephemeral (PR pytorch#179158)

Resolution:
- Drop the local manylinux2_28_aarch64-builder cuda12.8 and cuda12.9 entries
  to match upstream's surviving CUDA aarch64 set (cuda13.2, cuda13.0, cuda12.6)
- Update the local manylinux2_28_aarch64-builder cuda* entries to use the new
  larger runner (linux.arm64.m7g.4xlarge.ephemeral) introduced upstream

This preserves the intent of the original change (mirror the existing
manylinuxaarch64-builder CUDA entries under the manylinux2_28_aarch64-builder
name for consistency with the cpu-aarch64 image and x86_64 image names) while
adopting the new upstream CUDA matrix and runner.

Self-assessment: LOW RISK
      1. Do you have any doubt about letting this patch go outside Arm, or do you think others in the team might? No
      2. Is the patch based on a previously IP approved patch with trivial changes? Yes
      3. Are all changes in this patch either written by yourself or copy-pasted from the same project? Yes
      4. Is the contribution in Arm’s commercial Interest? Yes
      5. Is this the first time that Arm has made a significant modification to any of the files changed in this patch or does it add a new file? No
      6. Does this patch disclose anything that is not the public knowledge? No
      7. Does the patch mention any company name other than Arm? No
      8. Does the patch contain any inappropriate use of trademarks? No
      9. Does the patch contribute beyond the scope that has been approved? No
      10. Does the patch contain a patentable idea for which a patent has not yet been filed? No
      11. Does the patch disclose any aspects of micro-architecture of any Arm HW IP? No
      12. Does the patch use HW architecture features not previously used in the project? No
      13. Does the patch contain generative AI output? No
aperson30 pushed a commit to aperson30/pytorch that referenced this pull request Jun 20, 2026
…181273)

 ## Summary

  - Remove cuda12.8 rows (x86_64 + aarch64) and the rocm7.0 row from
  .github/workflows/build-manywheel-images.yml.
  - Drop cuda12.8 and rocm7.0 from the tag matrix in .github/workflows/build-almalinux-images.yml.

  Neither tag is referenced by any downstream consumer — generate_binary_build_matrix.py pins
  CUDA_ARCHES = ["12.6", "13.0", "13.2"] and ROCM_ARCHES = ["7.1", "7.2"], so these image builds were
   producing tags that no binary/manywheel/test job pulls. Removing them cuts wasted Docker build
  cost with no behavior change.

 ## Test plan

  - build-manywheel-images workflow builds only tags that appear in MANYWHEEL_CONTAINER_IMAGES /
  CUDA_ARCHES / ROCM_ARCHES.
  - build-almalinux-images workflow matrix matches the active CUDA/ROCm sets.
  - Verify no workflow in .github/workflows/ still references :cuda12.8 or :rocm7.0 after the change.

Pull Request resolved: pytorch#181273
Approved by: https://github.com/izaitsevfb
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
…181273)

 ## Summary

  - Remove cuda12.8 rows (x86_64 + aarch64) and the rocm7.0 row from
  .github/workflows/build-manywheel-images.yml.
  - Drop cuda12.8 and rocm7.0 from the tag matrix in .github/workflows/build-almalinux-images.yml.

  Neither tag is referenced by any downstream consumer — generate_binary_build_matrix.py pins
  CUDA_ARCHES = ["12.6", "13.0", "13.2"] and ROCM_ARCHES = ["7.1", "7.2"], so these image builds were
   producing tags that no binary/manywheel/test job pulls. Removing them cuts wasted Docker build
  cost with no behavior change.

 ## Test plan

  - build-manywheel-images workflow builds only tags that appear in MANYWHEEL_CONTAINER_IMAGES /
  CUDA_ARCHES / ROCM_ARCHES.
  - build-almalinux-images workflow matrix matches the active CUDA/ROCm sets.
  - Verify no workflow in .github/workflows/ still references :cuda12.8 or :rocm7.0 after the change.

Pull Request resolved: pytorch#181273
Approved by: https://github.com/izaitsevfb
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
…181273)

 ## Summary

  - Remove cuda12.8 rows (x86_64 + aarch64) and the rocm7.0 row from
  .github/workflows/build-manywheel-images.yml.
  - Drop cuda12.8 and rocm7.0 from the tag matrix in .github/workflows/build-almalinux-images.yml.

  Neither tag is referenced by any downstream consumer — generate_binary_build_matrix.py pins
  CUDA_ARCHES = ["12.6", "13.0", "13.2"] and ROCM_ARCHES = ["7.1", "7.2"], so these image builds were
   producing tags that no binary/manywheel/test job pulls. Removing them cuts wasted Docker build
  cost with no behavior change.

 ## Test plan

  - build-manywheel-images workflow builds only tags that appear in MANYWHEEL_CONTAINER_IMAGES /
  CUDA_ARCHES / ROCM_ARCHES.
  - build-almalinux-images workflow matrix matches the active CUDA/ROCm sets.
  - Verify no workflow in .github/workflows/ still references :cuda12.8 or :rocm7.0 after the change.

Pull Request resolved: pytorch#181273
Approved by: https://github.com/izaitsevfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: rocm AMD GPU support for Pytorch topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants