Repository navigation
[release 2.13] Apply Release only changes to 2.13 branch - #186959
Merged
Merged
Conversation
Release-only changes for the release/2.13 branch cut, produced by running scripts/release/apply-release-changes.sh. The script repoints reusable workflows and composite actions from @main to @release/2.13, rewrites templates to release/2.13 (with checkout_pr_head=False so PRs build the merge base rather than the PR head), pins the XLA checkout to the r2.13 branch, pins the disabled/unstable jobs and disabled-tests S3 JSON blobs to fixed versionIds, sets RELEASE_VERSION_TAG=2.13 for the workflow-regeneration lint check, and drops the pull_request-specific checkout ref from the linux binary build/test workflows. Only files that are tracked in release/2.13 are included. The 2.12 PR additionally touched .ci/manywheel/build_cuda.sh and a few workflow files (torchbench/nitpicker/quantization-periodic) that are not tracked in this checkout, so they are intentionally omitted here. Test Plan: Ran the release script and linter: ``` DRY_RUN=disabled ./scripts/release/apply-release-changes.sh lintrunner -a ``` lintrunner reported only pre-existing ACTIONLINT shellcheck warnings on generated workflow lines unrelated to the release-version edits, and made no changes to the staged files. Verified every staged hunk is a release-only edit (@main -> @release/2.13, main -> release/2.13, XLA r2.13 pin, S3 versionId pins, RELEASE_VERSION_TAG=2.13, and the pull_request ref removal) with no submodule or unrelated changes. This PR was authored with the assistance of Claude Code.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/186959
Note: Links to docs will display an error until the docs builds have been completed. ⏳ 155 Pending, 1 Unrelated FailureAs of commit fb46d7a with merge base 636bc91 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Release builds should use a fixed, reproducible build toolchain instead of the floating builder image tags that main tracks (e.g. pytorch/manylinux2_28-builder:cuda12.6). For 2.12 the binary build workflows resolved the image dynamically via calculate-docker-image; for 2.13 we freeze that resolved image as a literal pin. The pin is applied in the generator (generate_binary_build_matrix.py) rather than in the generated YAML directly, so re-running .github/regenerate.sh (and the lint job that asserts the generated files are up to date) reproduces the pinned tags. wheel_container_image_tag_prefix() appends the pin only for the linux manywheel OSes (linux, linux-aarch64, linux-s390x), since only those builds run inside these containers; windows and macos keep the plain tag prefix. The pin suffix is the .ci/docker tree hash, f38ba0b (git rev-parse HEAD:.ci/docker), which is exactly the tag that .github/actions/binary-docker-build (and the s390x equivalent) publish as ${prefix}-${CI_FOLDER_SHA}. It matches the image already published on Docker Hub, e.g. pytorch/manylinux2_28_aarch64-builder:cpu-aarch64-f38ba0b10220982e39441d29d203d803a2b56c92 Test Plan: Regenerated the workflows in release mode and verified the result: ``` RELEASE_VERSION_TAG=2.13 python3 .github/scripts/generate_ci_workflows.py ``` - Every `image:` and matrix `docker_image_tag_prefix` in the three linux manywheel generated workflows now carries the `-f38ba0b...` suffix (cpu, cpu-aarch64, cuda12.6/13.0/13.2, rocm7.1/7.2, xpu, cpu-s390x); no linux builder image remains floating. - Windows and macos generated workflows are unchanged (plain `cpu`, `cuda12.6`, ...), confirming the pin is linux-only. - Re-running the generator a second time produced byte-identical output (md5sum unchanged), so the regeneration/lint up-to-date check is stable. Note: the local linters that shell out to `uv` could not run in this environment; the change was format-checked manually. This PR was authored with the assistance of Claude Code.
huydhn
approved these changes
Jun 10, 2026
This was referenced Jun 10, 2026
This branch had an error 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.
Release-only changes for the release/2.13 branch cut, produced by running scripts/release/apply-release-changes.sh. The script repoints reusable workflows and composite actions from main to @release/2.13, rewrites templates to release/2.13 (with checkout_pr_head=False so PRs build the merge base rather than the PR head), pins the XLA checkout to the r2.13 branch, pins the disabled/unstable jobs and disabled-tests S3 JSON blobs to fixed versionIds, sets RELEASE_VERSION_TAG=2.13 for the workflow-regeneration lint check, and drops the pull_request-specific checkout ref from the linux binary build/test workflows.
Only files that are tracked in release/2.13 are included. The 2.12 PR additionally touched .ci/manywheel/build_cuda.sh and a few workflow files (torchbench/nitpicker/quantization-periodic) that are not tracked in this checkout, so they are intentionally omitted here.
Test Plan:
Ran the release script and linter:
lintrunner reported only pre-existing ACTIONLINT shellcheck warnings on generated workflow lines unrelated to the release-version edits, and made no changes to the staged files. Verified every staged hunk is a release-only edit (main -> @release/2.13, main -> release/2.13, XLA r2.13 pin, S3 versionId pins, RELEASE_VERSION_TAG=2.13, and the pull_request ref removal) with no submodule or unrelated changes.
This PR was authored with the assistance of Claude Code.