Repository navigation
Conversation
pull's linux-jammy-py3.11-clang21 and trunk's dynamo-unittest (3.11) run the same dynamo_wrapped shards: same build environment, image and test.sh function. The overlap started when #198271 moved pull from 3.10 to 3.11, while dynamo-unittest had been added for 3.11+ because pull covered 3.10. Keep the trunk copy and drop the pull one. Pull runs on every PR push, so this saves more runner time (about 14,300 h a week over Oct 30 to Nov 6, against about 9,200 h for dropping the trunk copy). 3.11 dynamo_wrapped still runs before every merge through trunk, and pull keeps dynamo_wrapped on 3.14 and 3.14t. Trunk's dynamo-unittest jobs use their own test-times key, so their sharding does not depend on the removed pull jobs. Test Plan: CI. pull on this PR has no linux-jammy-py3.11-clang21 dynamo_wrapped jobs; trunk still runs dynamo-unittest (3.11). Authored with an AI assistant (Claude Code).
PR Status: Approved 🚀Please fix all CI failures and trigger merge by commenting "@pytorchbot merge". ✅ AUTOMATED REVIEW - Ready for human review:
Findings (3): Reviewed commit: 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/203768
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 7eadcf7 with merge base 0e5d4ac ( 🟡 GREEN LIGHT - PR requires human review:
reason: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Automated review of 7eadcf7: nothing blocking; ready for human review.
The PR removes the 6 dynamo_wrapped shards from pull's linux-jammy-py3.11-clang21 job because trunk's dynamo-unittest (3.11) already runs them. The review recommends Approve: the removal is correct and 3.11 dynamo_wrapped still gates merges through trunk. It raises only non-blocking points, and suggests fixing the stale td-holdout-unstable.yml copy in this PR.
⚪ 3 non-blocking findings
pytorch/.github/workflows/pull.yml
Line 388 in 7eadcf7
Non-blocking: .github/workflows/td-holdout-unstable.yml:105-145 should be updated in this PR. Its header says to keep the copied matrices in sync with pull.yml. Its linux-jammy-py3_11-clang21-build/-test pair (matrix at lines 117-124) holds exactly the 6 dynamo_wrapped shards this PR deletes, and nothing else. After this PR the pair mirrors no pull job, yet every new PR still pays for a 3.11-clang21 build plus 6 TD-off shards. Those holdout results also lose their matching TD-on run: trunk's dynamo-unittest / dynamo-test (3.11) uses a different workflow and job name, 7 shards and a different trigger. Suggested fix: delete the pair, or point it at pull's remaining 3.14 dynamo_wrapped matrix (pull.yml:443-449). The gcc11 pair is unaffected.
pytorch/.github/workflows/pull.yml
Line 388 in 7eadcf7
Non-blocking: 3.11 dynamo_wrapped now depends on every other Python leg in dynamo-unittest.yml. dynamo-test (lines 63-70) has needs: \[get-label-type, dynamo-build\] with no if: override, and dynamo-build is a matrix over 3.11/3.12/3.13/3.15. If any one build leg fails (e.g. the pre-release 3.15 build), all four test legs are skipped, 3.11 included. fail-fast: false doesn't change this. Before this PR, pull's 3.11 job ran on its own. The behavior predates the PR, but the PR makes this job the only blocking 3.11 dynamo_wrapped signal, so it is worth fixing: split 3.11 out, or add an if: that tolerates failures in other build legs.
pytorch/.github/workflows/pull.yml
Line 388 in 7eadcf7
Non-blocking: the description should say what is lost or delayed. 3.11 is the minimum supported Python, and Dynamo has many < (3, 12) bytecode paths. (1) Later signal: PRs without ciflow/trunk get no blocking 3.11 dynamo_wrapped run until merge time, because pull keeps only 3.14 (pull.yml:443-449) and 3.14t (pull.yml:229-236). Merges with -f, and release-branch PRs merged without trunk, now land with no 3.11 dynamo_wrapped run at all. (2) No targeted rerun: dispatching pull with jobs-to-include: linux-jammy-py3.11-clang21 and tests-to-include no longer runs 3.11 dynamo_wrapped. Trunk's replacement (trunk.yml:46-50) has no job-filter if:, and dynamo-unittest.yml:7 is a bare workflow_call: that takes no tests-to-include. So a trunk dispatch always runs all four Python versions with full test lists.
This review is AI-generated and advisory. Each new automated review replaces the previous one. Report a bad review
|
Starting merge as part of PR stack under #203769 |
## Summary (human written only) Put 3.14 in the same place as other python version. This saves about 3.5 h per PR push and costs about 4 h per trunk run on a PR and 0.8 h per main commit, which translates to about 7,400 runner-hours a week net gain. ## Agent details (if applicable) > Written with an AI assistant (Claude Code). > > - Moves py3.14 dynamo_wrapped from pull to trunk's `dynamo-unittest` (same runner and shard count). It still gates every normal merge through trunk, but no longer runs on every PR push. > - py3.14t stays in pull: it needs 16-128 runners, and the shared dynamo-unittest matrix can't give one version a different runner. > - Saves about 3.5 h per PR push and costs about 4 h per trunk run on a PR and 0.8 h per main commit (a 3.14 build and dynamo_core job in trunk). About 7,400 runner-hours a week net (Oct 30 to Nov 6). Pull Request resolved: #203769 Approved by: https://github.com/georgehong, https://github.com/atalman Stack dependencies: #203768
…orch#203768) ## Summary (human written only) This python version (3.11) is already running in trunk as part of https://github.com/pytorch/pytorch/blob/main/.github/workflows/dynamo-unittest.yml#L40. This saves about 3 h per PR push, 6.6 h per main commit and 14,300 runner-hours a week. ## Agent details (if applicable) > Written with an AI assistant (Claude Code). > > - pull's `linux-jammy-py3.11-clang21` and trunk's `dynamo-unittest (3.11)` run the same dynamo_wrapped shards: same build environment, image and `test.sh` function. The overlap started when pytorch#198271 moved pull from 3.10 to 3.11. > - This drops the pull copy. 3.11 dynamo_wrapped still runs before every merge through trunk, and pull keeps dynamo_wrapped on 3.14 and 3.14t. > - Saves about 3 h per PR push, 6.6 h per main commit and 14,300 runner-hours a week (Oct 30 to Nov 6). Pull Request resolved: pytorch#203768 Approved by: https://github.com/atalman, https://github.com/georgehong, https://github.com/albanD
## Summary (human written only) Put 3.14 in the same place as other python version. This saves about 3.5 h per PR push and costs about 4 h per trunk run on a PR and 0.8 h per main commit, which translates to about 7,400 runner-hours a week net gain. ## Agent details (if applicable) > Written with an AI assistant (Claude Code). > > - Moves py3.14 dynamo_wrapped from pull to trunk's `dynamo-unittest` (same runner and shard count). It still gates every normal merge through trunk, but no longer runs on every PR push. > - py3.14t stays in pull: it needs 16-128 runners, and the shared dynamo-unittest matrix can't give one version a different runner. > - Saves about 3.5 h per PR push and costs about 4 h per trunk run on a PR and 0.8 h per main commit (a 3.14 build and dynamo_core job in trunk). About 7,400 runner-hours a week net (Oct 30 to Nov 6). Pull Request resolved: pytorch#203769 Approved by: https://github.com/georgehong, https://github.com/atalman Stack dependencies: pytorch#203768
Summary (human written only)
This python version (3.11) is already running in trunk as part of https://github.com/pytorch/pytorch/blob/main/.github/workflows/dynamo-unittest.yml#L40. This saves about 3 h per PR push, 6.6 h per main commit and 14,300 runner-hours a week.
Agent details (if applicable)