Skip to content

[CD] Raise timeout for x86 cuda builds to 280 mins - #185560

Closed
tinglvv wants to merge 1 commit into
mainfrom
tingl/timeout-bump
Closed

tinglvv wants to merge 1 commit into
mainfrom
tingl/timeout-bump

Conversation

@tinglvv

@tinglvv tinglvv commented May 28, 2026 •

Copy link
Copy Markdown
Collaborator

Nightly x86 CUDA wheel builds have been timing out after 4 hrs (240 mins) since 5/22 after addition of py3.15 support https://github.com/pytorch/pytorch/actions/runs/26277452493
Root cause is from the addition of python 3.15 increasing the build time. The existing aarch64, s390x, and ROCm builds are having 420 mins as timeout, increasing x86 builds to 280 mins per advice from @malfet.

Triton wheel needs patching in setup.py for py3.15, so adding a skip for Triton wheel pull to unblock CI and nightly build workflow.

Redo of #185289
Linking issue #184352

cc @syed-ahmed @nWEIdia @ptrblck @atalman @malfet

@tinglvv
tinglvv requested a review from a team as a code owner May 28, 2026 20:30
@pytorch-bot

pytorch-bot Bot commented May 28, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ You can merge normally! (2 Unrelated Failures), 26 Unclassified Failures

As of commit 7a0bf31 with merge base 286e4d8 (image):

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@pytorch-bot pytorch-bot Bot added the release notes: releng release notes category label May 28, 2026
@tinglvv tinglvv added the ciflow/binaries Trigger all binary build and upload jobs on the PR label May 28, 2026
@tinglvv
tinglvv requested review from atalman and malfet May 28, 2026 20:35

@malfet malfet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Sounds reasonable

@syed-ahmed

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 29, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

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

@tinglvv

tinglvv commented May 29, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot rebase

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Tried to rebase and push PR #185560, but it was already up to date. Try rebasing against main by issuing:
@pytorchbot rebase -b main

@tinglvv

tinglvv commented May 29, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot rebase -b main

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/main. Check the current status here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Successfully rebased tingl/timeout-bump onto refs/remotes/origin/main, please pull locally before adding more changes (for example, via git checkout tingl/timeout-bump && git pull --rebase)

@tinglvv

tinglvv commented May 29, 2026

Copy link
Copy Markdown
Collaborator Author

https://github.com/pytorch/pytorch/actions/runs/26624985224/job/78494751542

TypeError: Signature mismatch between <built-in function pack> and <function pack at 0xffff63a35b10>: (format, /, *values) != (fmt: 'bytes | str', /, *v: 'Any') -> 'bytes'

Failures should be resolved by this merged PR #185403.
This PR simply raises the timeout and fixes the Triton dependency on py3.15.
Merging for now.

@tinglvv

tinglvv commented May 29, 2026

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 28 checks: trunk / win-vs2022-cuda13.0-py3 / build, trunk / win-vs2022-cpu-py3 / build, linux-aarch64-binary-manywheel / manywheel-py3_15-cpu-aarch64-test / test, linux-aarch64-binary-manywheel / manywheel-py3_15t-cuda-aarch64-13_2-test / test, linux-aarch64-binary-manywheel / manywheel-py3_15t-cuda-aarch64-13_0-test / test, linux-aarch64-binary-manywheel / manywheel-py3_15-cuda-aarch64-13_0-test / test, linux-aarch64-binary-manywheel / manywheel-py3_15t-cuda-aarch64-12_6-test / test, linux-aarch64-binary-manywheel / manywheel-py3_15t-cpu-aarch64-test / test, linux-aarch64-binary-manywheel / manywheel-py3_15-cuda-aarch64-13_2-test / test, linux-aarch64-binary-manywheel / manywheel-py3_15-cuda-aarch64-12_6-test / test, linux-binary-manywheel / manywheel-py3_15t-rocm7_2-test / test, linux-binary-manywheel / manywheel-py3_15t-rocm7_1-test / test, linux-binary-manywheel / manywheel-py3_15-rocm7_2-test / test, linux-binary-manywheel / manywheel-py3_15-rocm7_1-test / test, linux-binary-manywheel / manywheel-py3_15t-cuda12_6-test / test, linux-binary-manywheel / manywheel-py3_15-cuda12_6-test / test, linux-binary-manywheel / manywheel-py3_15-cuda13_2-test / test, linux-binary-manywheel / manywheel-py3_15t-cuda13_0-test / test, linux-binary-manywheel / manywheel-py3_15-cuda13_0-test / test, linux-binary-manywheel / manywheel-py3_15-cpu-test / test, linux-binary-manywheel / manywheel-py3_15t-cuda13_2-test / test, linux-binary-manywheel / manywheel-py3_15t-cpu-test / test, windows-binary-wheel / wheel-py3_10-xpu-build, windows-binary-wheel / wheel-py3_11-xpu-build, windows-binary-wheel / wheel-py3_12-xpu-build, windows-binary-wheel / wheel-py3_13-xpu-build, windows-binary-wheel / wheel-py3_14-xpu-build, windows-binary-wheel / wheel-py3_14t-xpu-build

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

daisyden pushed a commit to daisyden/pytorch that referenced this pull request Jun 1, 2026
Nightly x86 CUDA wheel builds have been timing out after 4 hrs (240 mins) since 5/22 after addition of py3.15 support https://github.com/pytorch/pytorch/actions/runs/26277452493
Root cause is from the addition of python 3.15 increasing the build time. The existing aarch64, s390x, and ROCm builds are having 420 mins as timeout, increasing x86 builds to 280 mins per advice from @malfet.

Triton wheel needs patching in setup.py for py3.15, so adding a skip for Triton wheel pull to unblock CI and nightly build workflow.

Redo of pytorch#185289
Linking issue pytorch#184352

Pull Request resolved: pytorch#185560
Approved by: https://github.com/malfet
khushi-411 pushed a commit to khushi-411/pytorch that referenced this pull request Jun 1, 2026
Nightly x86 CUDA wheel builds have been timing out after 4 hrs (240 mins) since 5/22 after addition of py3.15 support https://github.com/pytorch/pytorch/actions/runs/26277452493
Root cause is from the addition of python 3.15 increasing the build time. The existing aarch64, s390x, and ROCm builds are having 420 mins as timeout, increasing x86 builds to 280 mins per advice from @malfet.

Triton wheel needs patching in setup.py for py3.15, so adding a skip for Triton wheel pull to unblock CI and nightly build workflow.

Redo of pytorch#185289
Linking issue pytorch#184352

Pull Request resolved: pytorch#185560
Approved by: https://github.com/malfet
@github-actions
github-actions Bot deleted the tingl/timeout-bump branch June 29, 2026 02:30
gplutop7 pushed a commit to gplutop7/pytorch that referenced this pull request Jul 15, 2026
Nightly x86 CUDA wheel builds have been timing out after 4 hrs (240 mins) since 5/22 after addition of py3.15 support https://github.com/pytorch/pytorch/actions/runs/26277452493
Root cause is from the addition of python 3.15 increasing the build time. The existing aarch64, s390x, and ROCm builds are having 420 mins as timeout, increasing x86 builds to 280 mins per advice from @malfet.

Triton wheel needs patching in setup.py for py3.15, so adding a skip for Triton wheel pull to unblock CI and nightly build workflow.

Redo of pytorch#185289
Linking issue pytorch#184352

Pull Request resolved: pytorch#185560
Approved by: https://github.com/malfet
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
Nightly x86 CUDA wheel builds have been timing out after 4 hrs (240 mins) since 5/22 after addition of py3.15 support https://github.com/pytorch/pytorch/actions/runs/26277452493
Root cause is from the addition of python 3.15 increasing the build time. The existing aarch64, s390x, and ROCm builds are having 420 mins as timeout, increasing x86 builds to 280 mins per advice from @malfet.

Triton wheel needs patching in setup.py for py3.15, so adding a skip for Triton wheel pull to unblock CI and nightly build workflow.

Redo of pytorch#185289
Linking issue pytorch#184352

Pull Request resolved: pytorch#185560
Approved by: https://github.com/malfet
TroyGarden added a commit to TroyGarden/torchrec that referenced this pull request Sep 24, 2026
Summary:
- TorchRec's CUDA unit-test workflow exercises Python 3.15 and 3.15
  free-threaded environments, but pip install torch does not install Triton
  for them.
- The PyTorch 2.15 nightly wheel carries a Triton requirement guarded by
  platform_system == Linux and python_version < 3.15. Matching cp315 and
  cp315t Triton wheels are available on the PyTorch nightly index, but the
  environment marker prevents pip from selecting them.
- This became a visible TorchRec failure after PyTorch PR #178393
  (D121221950) enabled Dynamo on Python 3.15 by moving the unsupported-version
  boundary from 3.15 to 3.16. Before that change, is_dynamo_supported returned
  false and the CUDA Graph test was skipped.
- The failing test does not import Triton directly. It calls
  DLRM.compile_dense_path, which wraps the dense, interaction, and over
  architectures with torch.compile in reduce-overhead mode. With no explicit
  backend, torch.compile selects Inductor. During the first compiled CUDA
  forward, Inductor calls has_triton and raises TritonMissing when no usable
  installation is present.
- Install Triton directly from the selected CUDA package index for workflow
  entries whose matrix Python tag is py315 or newer.
- Remove the Python 3.15 version exclusions from the TensorDict and Triton test
  suites. Keep their CUDA availability guards and conditional imports so CPU
  jobs continue to collect safely.

References:

- PyTorch Dynamo 3.15 support: pytorch/pytorch#178393
- Internal mirror: https://www.internalfb.com/diff/D121221950
- Original Python 3.15 Triton packaging exclusion:
  pytorch/pytorch#185560
- Python 3.15 Triton wheel build:
  pytorch/pytorch#184829
- Failing call chain:
  https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/tests/test_cuda_graph.py?lines=112-114
  https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/dlrm.py?lines=573-608
  https://www.internalfb.com/code/fbsource/fbcode/caffe2/torch/_inductor/scheduler.py?lines=11612-11630

Differential Revision: D121621735
TroyGarden added a commit to TroyGarden/torchrec that referenced this pull request Sep 24, 2026
Summary:
- TorchRec's CUDA unit-test workflow exercises Python 3.15 and 3.15
  free-threaded environments, but pip install torch does not install Triton
  for them.
- The PyTorch 2.15 nightly wheel carries a Triton requirement guarded by
  platform_system == Linux and python_version < 3.15. Matching cp315 and
  cp315t Triton wheels are available on the PyTorch nightly index, but the
  environment marker prevents pip from selecting them.
- This became a visible TorchRec failure after PyTorch PR #178393
  (D121221950) enabled Dynamo on Python 3.15 by moving the unsupported-version
  boundary from 3.15 to 3.16. Before that change, is_dynamo_supported returned
  false and the CUDA Graph test was skipped.
- The failing test does not import Triton directly. It calls
  DLRM.compile_dense_path, which wraps the dense, interaction, and over
  architectures with torch.compile in reduce-overhead mode. With no explicit
  backend, torch.compile selects Inductor. During the first compiled CUDA
  forward, Inductor calls has_triton and raises TritonMissing when no usable
  installation is present.
- Install Triton for workflow entries whose matrix Python tag is py315 or
  newer.
- Remove the Python 3.15 version exclusions from the TensorDict and Triton test
  suites. Keep their CUDA availability guards and conditional imports so CPU
  jobs continue to collect safely.

References:

- PyTorch Dynamo 3.15 support: pytorch/pytorch#178393
- Internal mirror: https://www.internalfb.com/diff/D121221950
- Original Python 3.15 Triton packaging exclusion:
  pytorch/pytorch#185560
- Python 3.15 Triton wheel build:
  pytorch/pytorch#184829
- Failing call chain:
  https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/tests/test_cuda_graph.py?lines=112-114
  https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/dlrm.py?lines=573-608
  https://www.internalfb.com/code/fbsource/fbcode/caffe2/torch/_inductor/scheduler.py?lines=11612-11630

Differential Revision: D121621735
TroyGarden added a commit to TroyGarden/torchrec that referenced this pull request Sep 24, 2026
Summary:
- TorchRec's CUDA unit-test workflow exercises Python 3.15 and 3.15
  free-threaded environments, but pip install torch does not install Triton
  for them.
- The PyTorch 2.15 nightly wheel carries a Triton requirement guarded by
  platform_system == Linux and python_version < 3.15. Matching cp315 and
  cp315t Triton wheels are available on the PyTorch nightly index, but the
  environment marker prevents pip from selecting them.
- This became a visible TorchRec failure after PyTorch PR #178393
  (D121221950) enabled Dynamo on Python 3.15 by moving the unsupported-version
  boundary from 3.15 to 3.16. Before that change, is_dynamo_supported returned
  false and the CUDA Graph test was skipped.
- The failing test does not import Triton directly. It calls
  DLRM.compile_dense_path, which wraps the dense, interaction, and over
  architectures with torch.compile in reduce-overhead mode. With no explicit
  backend, torch.compile selects Inductor. During the first compiled CUDA
  forward, Inductor calls has_triton and raises TritonMissing when no usable
  installation is present.
- Install the Triton 3.8.0+gitc01b6774 build matching the current PyTorch
  nightly for workflow entries whose matrix Python tag is py315 or newer.
  Fetch it from the PyTorch CUDA index and override its stale Requires-Python
  metadata gate with --ignore-requires-python.
- Remove the Python 3.15 version exclusions from the TensorDict and Triton test
  suites. Keep their CUDA availability guards and conditional imports so CPU
  jobs continue to collect safely.

References:

- PyTorch Dynamo 3.15 support: pytorch/pytorch#178393
- Internal mirror: https://www.internalfb.com/diff/D121221950
- Original Python 3.15 Triton packaging exclusion:
  pytorch/pytorch#185560
- Python 3.15 Triton wheel build:
  pytorch/pytorch#184829
- Failing call chain:
  https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/tests/test_cuda_graph.py?lines=112-114
  https://www.internalfb.com/code/fbsource/fbcode/torchrec/models/dlrm.py?lines=573-608
  https://www.internalfb.com/code/fbsource/fbcode/caffe2/torch/_inductor/scheduler.py?lines=11612-11630

Differential Revision: D121621735
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 ciflow/trunk Trigger trunk jobs on your pull request Merged open source release notes: releng release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants