Repository navigation
Conversation
PR Status: Approved 🚀Please fix all CI failures and trigger merge by commenting "@pytorchbot merge". ✅ AUTOMATED REVIEW - Ready for human review:
Findings (4): Reviewed commit: 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/203769
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 06941f8 with merge base 0e5d4ac ( 🟡 GREEN LIGHT - PR requires human review:
reason: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Every normal merge runs trunk, so dynamo_wrapped still gates landing from dynamo-unittest, but it no longer runs on every PR push. pull runs about 2.5x more often than trunk on PRs (about 4,000 pushes a week against about 1,600 trunk runs), so moving the shards saves runner time. py3.14 joins the existing dynamo-unittest matrix, which uses the same runner and shard count as pull. py3.14t stays in pull: it needs 16-128 runners, and the shared dynamo-unittest matrix cannot give one version a different runner. Estimated saving, from Oct 30 to Nov 6: about 7,400 runner-hours a week net. Test Plan: CI. pull on this PR has no py3.14 dynamo_wrapped jobs; trunk runs dynamo-unittest for 3.11, 3.12, 3.13, 3.14 and 3.15. Authored with an AI assistant (Claude Code).
0c3a654 to
06941f8
Compare
There was a problem hiding this comment.
Automated review of 06941f8: nothing blocking; ready for human review.
The PR moves the 7 py3.14 dynamo_wrapped shards from pull.yml into the shared dynamo-unittest.yml matrix that trunk calls. It keeps the same build-environment, docker image, runner label and shard count, and it still gates merges through trunk. Recommendation: Approve. Every point raised is non-blocking and comes from joining the shared matrix.
⚪ 4 non-blocking findings
Non-blocking: the runner fleet changes. The pull job's get-label-type uses check_experiments: lf (pull.yml:67). dynamo-unittest calls the runner determinator with opt_out_experiments: lf, and opt-out wins (.github/scripts/runner_determinator.py:567-573). So py3.14 dynamo_wrapped can no longer run on LF runners and always uses Meta-fleet l-x86iavx512-8-64 capacity. The description says "same runner", which is true of the label suffix but not the fleet. If the extra Meta-fleet load is intended, the description should say so.
Non-blocking: manual dispatch can no longer select or narrow py3.14 dynamo_wrapped (trunk.yml:46-50, dynamo-unittest.yml:63-78). The old pull job was gated by job-filter on ' linux-jammy-py3.14-clang21 ' (pull.yml:451) and forwarded tests-to-include (pull.yml:462). dynamo-unittest has no job-filter gate, against rule 1 in job-filter.yml:4-9, and forwards no tests-to-include. After this PR, a pull dispatch with jobs-to-include="linux-jammy-py3.14-clang21" silently skips dynamo_wrapped. Any filtered trunk dispatch always runs all five dynamo-unittest builds and test sets. Neither dispatch can rerun py3.14 dynamo_wrapped on a chosen subset of tests. The other Python versions already have this gap; this PR extends it to 3.14.
Non-blocking, low confidence: disable/unstable granularity is lost. filter_test_configs.py matches the workflow (GITHUB_WORKFLOW, line 375), then the first JOB_NAME segment as the platform (line 360), then a \[w-\]+ (\[w-\]+) job/config regex (line 51). Under the new name dynamo-unittest / dynamo-test (3.14) / test (dynamo_wrapped, ), the platform is dynamo-unittest for all five versions, and 3.14 cannot match \[w-\]. So py3.14 dynamo_wrapped can only be marked unstable or disabled together with 3.113.15. Any open UNSTABLE/DISABLED issue for pull / linux-jammy-py3.14-clang21 / test (dynamo_wrapped, ) also stops applying, so a shard that is unstable today would become merge-blocking in trunk. This could not be checked offline; check for such an issue before landing.
Non-blocking: the sharding test-times key changes, so early trunk runs may be unbalanced. Test times are looked up by get_job_base_name(JOB_NAME) (tools/testing/test_selections.py:324-328, test/run_test.py:2331-2357), not by build-environment alone. The key moves from linux-jammy-py3.14-clang21 to dynamo-unittest / dynamo-test (3.14), which has no history yet. Until torchci records the new key, the 7 shards fall back to the aggregated default/dynamo_wrapped times, so shards may be uneven or long at first. This corrects itself after a few trunk runs.
This review is AI-generated and advisory. Each new automated review replaces the previous one. Report a bad review
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
## 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)
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)