Skip to content

Automate TorchAO pin bumps - #23189

Merged
JacobSzwejbka merged 3 commits into
mainfrom
codex/torchao-pin-bump-bot
Oct 2, 2026
Merged

JacobSzwejbka merged 3 commits into
mainfrom
codex/torchao-pin-bump-bot

Conversation

@JacobSzwejbka

@JacobSzwejbka JacobSzwejbka commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Extend the weekly PyTorch pin-bump automation to update TorchAO at the same time.

The implementation reuses the existing nightly-date parser and GitHub JSON request path, and reads SUPPORTED_CUDA_VERSIONS directly from install_utils.py. The TorchAO-specific code selects the newest nightly available for CPU and every supported CUDA channel, resolves the exact source SHA from the successful TorchAO wheel build, updates the nightly constants, and advances third-party/ao. Existing dependency tests now derive their expectations from those source-of-truth pins, so future bot PRs do not need to rewrite tests.

The live lookup currently reproduces #23184: 0.19.0.dev20260907 at b7ac3aacf9b6f1cb0c6bb29143329f601dfcfcb1, with CUDA 12.6 limiting the common nightly date.

Authored with assistance from Codex.

Test plan

  • python .ci/scripts/tests/test_cu134_dependencies.py (9 tests)
  • python -m py_compile .github/scripts/update_pytorch_pin.py
  • black --check .github/scripts/update_pytorch_pin.py .ci/scripts/tests/test_cu134_dependencies.py
  • Parsed .github/workflows/weekly-pytorch-pin-bump.yml with Ruby YAML
  • git diff --check
  • Exercised the live TorchAO index and GitHub Actions lookup

@pytorch-bot

pytorch-bot Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit 3dc2640 with merge base c16dd0a (image):
💚 Looks good so far! There are no failures yet. 💚

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 28, 2026
@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@@ -1,4 +1,4 @@
name: Weekly PyTorch Pin Bump
name: Weekly PyTorch and TorchAO Pin Bump

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.

nice

@JacobSzwejbka
JacobSzwejbka force-pushed the codex/torchao-pin-bump-bot branch from 09b8965 to f4f8a8c Compare September 28, 2026 17:13
@JacobSzwejbka
JacobSzwejbka force-pushed the codex/torchao-pin-bump-bot branch from f4f8a8c to 71b132b Compare September 28, 2026 17:21
@JacobSzwejbka
JacobSzwejbka marked this pull request as ready for review October 2, 2026 14:07
Authored with assistance from Codex.
@JacobSzwejbka
JacobSzwejbka merged commit 7dc8dd9 into main Oct 2, 2026
393 of 395 checks passed
@JacobSzwejbka
JacobSzwejbka deleted the codex/torchao-pin-bump-bot branch October 2, 2026 14:38

This branch was successfully deployed

1 active deployment
cadence — 3dc26406 Deployed Oct 2, 2026 by JacobSzwejbka via hifi-op-test / hifi4 #31093
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants