Automate TorchAO pin bumps - #23189
Merged
Merged
Conversation
🔗 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 FailuresAs of commit 3dc2640 with merge base c16dd0a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
JacobSzwejbka
had a problem deploying
to
cadence
September 28, 2026 16:34 — with
GitHub Actions
Failure
JacobSzwejbka
had a problem deploying
to
cadence
September 28, 2026 16:34 — with
GitHub Actions
Failure
This PR needs a
|
JakeStevens
reviewed
Sep 28, 2026
| @@ -1,4 +1,4 @@ | |||
| name: Weekly PyTorch Pin Bump | |||
| name: Weekly PyTorch and TorchAO Pin Bump | |||
JacobSzwejbka
force-pushed
the
codex/torchao-pin-bump-bot
branch
from
September 28, 2026 17:13
09b8965 to
f4f8a8c
Compare
metascroy
approved these changes
Sep 28, 2026
JacobSzwejbka
force-pushed
the
codex/torchao-pin-bump-bot
branch
from
September 28, 2026 17:21
f4f8a8c to
71b132b
Compare
JacobSzwejbka
had a problem deploying
to
cadence
September 28, 2026 17:22 — with
GitHub Actions
Failure
JacobSzwejbka
marked this pull request as ready for review
October 2, 2026 14:07
Authored with assistance from Codex.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_VERSIONSdirectly frominstall_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 advancesthird-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.dev20260907atb7ac3aacf9b6f1cb0c6bb29143329f601dfcfcb1, 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.pyblack --check .github/scripts/update_pytorch_pin.py .ci/scripts/tests/test_cu134_dependencies.py.github/workflows/weekly-pytorch-pin-bump.ymlwith Ruby YAMLgit diff --check