Automate release branch preparation - #23287
Draft
JacobSzwejbka wants to merge 9 commits into
Draft
JacobSzwejbka wants to merge 9 commits into
JacobSzwejbka wants to merge 9 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/23287
Note: Links to docs will display an error until the docs builds have been completed. ❌ 8 Pending, 2 Unclassified FailuresAs of commit 5c4b955 with merge base c5f2b7a ( 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:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
JacobSzwejbka
force-pushed
the
automate/release-branch-prep
branch
from
October 1, 2026 16:39
7a4f14d to
0d92965
Compare
JacobSzwejbka
requested a deployment
to
cadence
October 1, 2026 21:48 — with
GitHub Actions
In progress
JacobSzwejbka
requested a deployment
to
cadence
October 1, 2026 21:48 — with
GitHub Actions
In progress
This branch is being 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
Automate the deterministic branch-cut work so release creation no longer depends on a manual checklist. The normal invocation is
DRY_RUN=disabled ./scripts/release/cut-release-branch.sh; the release version comes fromviable/strict, and the raw cut is preserved before the prepared release branch is committed and pushed.Review the cut flow first. It resumes an unfinished cut from the preserved commit even if
viable/strictadvances, requires the Arm API snapshot on main, and keeps dry runs read-only. Dependency preparation selects the next PyTorch RC, derives torchvision while preserving the independently versioned torchaudio pin, verifies their artifacts, selects the matching test-infra branch, and synchronizes the PyTorch source commit plus vendored c10 headers to the release tag.Packaging uses an explicit wheel variant on Linux, macOS, CUDA, Windows, and QNN builds. CPU release wheels declare a bounded PyTorch range; CUDA wheels declare the exact matching build and reject a stale public train. Minimal and source installs do not acquire release-wheel metadata. Clean-install checks validate the declared metadata against both
torch_pin.pyand the intended CUDA row. Release-branch lint already uses the test index for RC dependencies.Stable dependency finalization remains in follow-up #23289. This PR does not change the current PyTorch pin or ExecuTorch version.
Test plan
python3 scripts/release/test_prepare_release.py(2 tests).ci/scripts/tests/test_cu134_dependencies.py(9 tests, 16 subtests)git diff --checkv2.14.0-rc1tag and a pinned c10 raw-content comparisonAuthored with OpenAI Codex.