Skip to content

[CD] Restore 420-minute timeout for ROCm linux manywheel builds - #182335

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

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

Conversation

@atalman

@atalman atalman commented May 4, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The Jinja refactor in #181586 collapsed the linux binary build workflows into a single matrix-driven job and dropped the per-config ROCm timeout that #179596 had set, so x86 ROCm manywheel builds regressed from timeout-minutes: 420 to common.timeout_minutes (240).

Make the timeout per-matrix-entry: 420 for ROCm, otherwise the per-OS default (common.timeout_minutes for x86, 420 for aarch64/s390x). Pass ${{ matrix.timeout_minutes }} into _binary-build-linux.yml.

Net effect:

Test plan

  • Regenerated workflow renders cleanly: each matrix entry in generated-linux-binary-manywheel-nightly.yml has a timeout_minutes field; the job-level timeout-minutes reads from ${{ matrix.timeout_minutes }}.
  • Aarch64 / s390x generated workflows show timeout_minutes: 420 on every entry (no behavior change).
  • Nightly ROCm manywheel builds no longer hit the 240-minute cap.

Authored with Claude.

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

@atalman
atalman requested a review from a team as a code owner May 4, 2026 19:49
@pytorch-bot

pytorch-bot Bot commented May 4, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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:

❌ 14 New Failures

As of commit aef4fe7 with merge base 004acb4 (image):

NEW FAILURES - The following jobs have failed:

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 May 4, 2026

@huydhn huydhn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not sure if this is just temporary fix to help ROCm, so if we want to keep this hard code permanently, but LGTM!

The Jinja refactor in pytorch#181586 collapsed the linux binary build workflows
into a single matrix-driven job and dropped the per-config rocm timeout
that pytorch#179596 had set, so x86 ROCm manywheel builds regressed from 420 to
common.timeout_minutes (240).

Add a per-matrix-entry timeout_minutes (420 for ROCm, otherwise the
per-OS default — common.timeout_minutes for x86, 420 for aarch64/s390x)
and pass ${{ matrix.timeout_minutes }} into _binary-build-linux.yml.
Net effect: ROCm goes 240 -> 420; CUDA/CPU/XPU x86 stay at 240; aarch64
and s390x stay at 420.

Authored with Claude.
@atalman
atalman force-pushed the fix_rocm_timeout_420 branch from 960c001 to aef4fe7 Compare May 4, 2026 20:12
@atalman atalman changed the title [CD] Restore 420-minute timeout for linux x86 manywheel builds [CD] Restore 420-minute timeout for ROCm linux manywheel builds May 4, 2026
@pytorch-bot pytorch-bot Bot added the module: rocm AMD GPU support for Pytorch label May 4, 2026
@atalman atalman added the ciflow/binaries Trigger all binary build and upload jobs on the PR label May 4, 2026
@atalman

atalman commented May 5, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchmergebot merge -f "all looks good"

@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

Alokksinha00 pushed a commit to Alokksinha00/pytorch that referenced this pull request May 15, 2026
…rch#182335)

## Summary

The Jinja refactor in pytorch#181586 collapsed the linux binary build workflows into a single matrix-driven job and dropped the per-config ROCm timeout that pytorch#179596 had set, so x86 ROCm manywheel builds regressed from `timeout-minutes: 420` to `common.timeout_minutes` (240).

Make the timeout per-matrix-entry: `420` for ROCm, otherwise the per-OS default (`common.timeout_minutes` for x86, `420` for aarch64/s390x). Pass `${{ matrix.timeout_minutes }}` into `_binary-build-linux.yml`.

Net effect:
- ROCm x86: 240 -> 420 (restores pytorch#179596)
- CUDA / CPU / XPU x86: stay 240
- aarch64, s390x: stay 420

## Test plan

- [ ] Regenerated workflow renders cleanly: each matrix entry in `generated-linux-binary-manywheel-nightly.yml` has a `timeout_minutes` field; the job-level `timeout-minutes` reads from `${{ matrix.timeout_minutes }}`.
- [ ] Aarch64 / s390x generated workflows show `timeout_minutes: 420` on every entry (no behavior change).
- [ ] Nightly ROCm manywheel builds no longer hit the 240-minute cap.

Authored with Claude.

Pull Request resolved: pytorch#182335
Approved by: https://github.com/huydhn
aperson30 pushed a commit to aperson30/pytorch that referenced this pull request Jun 20, 2026
…rch#182335)

## Summary

The Jinja refactor in pytorch#181586 collapsed the linux binary build workflows into a single matrix-driven job and dropped the per-config ROCm timeout that pytorch#179596 had set, so x86 ROCm manywheel builds regressed from `timeout-minutes: 420` to `common.timeout_minutes` (240).

Make the timeout per-matrix-entry: `420` for ROCm, otherwise the per-OS default (`common.timeout_minutes` for x86, `420` for aarch64/s390x). Pass `${{ matrix.timeout_minutes }}` into `_binary-build-linux.yml`.

Net effect:
- ROCm x86: 240 -> 420 (restores pytorch#179596)
- CUDA / CPU / XPU x86: stay 240
- aarch64, s390x: stay 420

## Test plan

- [ ] Regenerated workflow renders cleanly: each matrix entry in `generated-linux-binary-manywheel-nightly.yml` has a `timeout_minutes` field; the job-level `timeout-minutes` reads from `${{ matrix.timeout_minutes }}`.
- [ ] Aarch64 / s390x generated workflows show `timeout_minutes: 420` on every entry (no behavior change).
- [ ] Nightly ROCm manywheel builds no longer hit the 240-minute cap.

Authored with Claude.

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

## Summary

The Jinja refactor in pytorch#181586 collapsed the linux binary build workflows into a single matrix-driven job and dropped the per-config ROCm timeout that pytorch#179596 had set, so x86 ROCm manywheel builds regressed from `timeout-minutes: 420` to `common.timeout_minutes` (240).

Make the timeout per-matrix-entry: `420` for ROCm, otherwise the per-OS default (`common.timeout_minutes` for x86, `420` for aarch64/s390x). Pass `${{ matrix.timeout_minutes }}` into `_binary-build-linux.yml`.

Net effect:
- ROCm x86: 240 -> 420 (restores pytorch#179596)
- CUDA / CPU / XPU x86: stay 240
- aarch64, s390x: stay 420

## Test plan

- [ ] Regenerated workflow renders cleanly: each matrix entry in `generated-linux-binary-manywheel-nightly.yml` has a `timeout_minutes` field; the job-level `timeout-minutes` reads from `${{ matrix.timeout_minutes }}`.
- [ ] Aarch64 / s390x generated workflows show `timeout_minutes: 420` on every entry (no behavior change).
- [ ] Nightly ROCm manywheel builds no longer hit the 240-minute cap.

Authored with Claude.

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

## Summary

The Jinja refactor in pytorch#181586 collapsed the linux binary build workflows into a single matrix-driven job and dropped the per-config ROCm timeout that pytorch#179596 had set, so x86 ROCm manywheel builds regressed from `timeout-minutes: 420` to `common.timeout_minutes` (240).

Make the timeout per-matrix-entry: `420` for ROCm, otherwise the per-OS default (`common.timeout_minutes` for x86, `420` for aarch64/s390x). Pass `${{ matrix.timeout_minutes }}` into `_binary-build-linux.yml`.

Net effect:
- ROCm x86: 240 -> 420 (restores pytorch#179596)
- CUDA / CPU / XPU x86: stay 240
- aarch64, s390x: stay 420

## Test plan

- [ ] Regenerated workflow renders cleanly: each matrix entry in `generated-linux-binary-manywheel-nightly.yml` has a `timeout_minutes` field; the job-level `timeout-minutes` reads from `${{ matrix.timeout_minutes }}`.
- [ ] Aarch64 / s390x generated workflows show `timeout_minutes: 420` on every entry (no behavior change).
- [ ] Nightly ROCm manywheel builds no longer hit the 240-minute cap.

Authored with Claude.

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

Labels

ciflow/binaries Trigger all binary build and upload jobs on the PR 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