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 (2): Reviewed commit: 🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/203884
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 55480b1 with merge base 0534c1c ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
pull's dynamo-cpython job already builds linux-jammy-py3.13-clang21, so it now also runs the py3.13 dynamo_core and dynamo_wrapped shards that dynamo-unittest ran on trunk, reusing that build. py3.14t dynamo_wrapped moves from pull to dynamo-unittest; pull keeps py3.14t default, einops and openreg. dynamo-unittest now calls _dynamo-unittest-python.yml once per Python version, with the runner picked from the strategy matrix. A matrix build job shares one test-matrix output across all its legs, so legs with different runners need their own build and test pair. Adding another version, like 3.15t, is one matrix entry. py3.14t uses 7 dynamo_wrapped shards like the other versions instead of 8; its 8 shards averaged about 50 minutes on 16-128 runners. Test Plan: CI. pull on this PR runs dynamo_core and dynamo_wrapped under dynamo-cpython-test and no py3.14t dynamo_wrapped; dynamo-unittest runs 3.11, 3.12, 3.14, 3.14t and 3.15. ``` lintrunner -a .github/workflows/pull.yml .github/workflows/dynamo-unittest.yml .github/workflows/_dynamo-unittest-python.yml ``` Authored with an AI assistant (Claude Code).
73cc90d to
55480b1
Compare
There was a problem hiding this comment.
Automated review of 55480b1: nothing blocking; ready for human review.
The PR moves pull's per-PR dynamo testing from py3.14t to py3.13 by adding dynamo_core and 7 dynamo_wrapped shards to pull's dynamo-cpython job, and moves py3.14t dynamo_wrapped to trunk's dynamo-unittest through a new reusable workflow, _dynamo-unittest-python.yml. Recommendation: Approve. The review labels every point non-blocking, though it calls adding the target-determination dependency the most useful fix.
⚪ 2 non-blocking findings
Non-blocking, advisory per REVIEW.md "New jobs prove reliability": coverage changes for 3.14t that the PR doesn't mention. dynamo_core has never run on py3.14t, and it now gates trunk and viable/strict. py3.14t dynamo_wrapped drops from 8 shards to 7. With NUM_PROCS fixed at 3 on CPU, each free-threaded shard gets ~14% more work against the 210-minute test-step limit. The wrapper hardcodes num_shards: 7 for every version and only lets the runner vary. Either restore 8 shards for 3.14t (e.g. with a num-shards or test-matrix input) or say in the description that 7 was intended. The single runner input also puts 3.14t dynamo_core on 16-128, though the OOM comment (dynamo-unittest.yml:43-46) only justifies that for dynamo_wrapped/test_nn.
Non-blocking convention gaps in the new file: there's no # Owner(s): \["oncall: pt2"\] header (the caller dynamo-unittest.yml and 28 of the 32 _*.yml files have one). The inputs have no description:, while every input in _linux-build.yml has one. And runner here means the test-shard runner, but _linux-build.yml has a runner input that means the build runner. A name like test-runner would avoid the confusion.
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) Run dynamo tests with 3.13 in pull instead of 3.14t per @williamwen42 suggestion. The rest can be moved to trunk enable more saving. ## Agent details (if applicable) > Written with an AI assistant (Claude Code). > > - pull runs py3.13 dynamo_core and dynamo_wrapped in the `dynamo-cpython` job, reusing its existing py3.13 build. trunk's dynamo-unittest drops 3.13. > - py3.14t dynamo_wrapped moves from pull to dynamo-unittest. pull keeps py3.14t default, einops and openreg. > - dynamo-unittest calls a per-version workflow from its matrix, so each version can pick its runner (16-128 for 3.14t) and adding 3.15t is one line. Pull Request resolved: pytorch#203884 Approved by: https://github.com/williamwen42
#203884 moved dynamo-unittest's build and test jobs into _dynamo-unittest-python.yml, which takes the Python version and runner as inputs. The linter treated every _ workflow as a leaf and never filled in ${{ inputs.* }}, so it no longer saw those configs and a py3.11 dynamo_wrapped re-added to pull.yml went unflagged. Follow any local workflow call until a job passes a test-matrix, carrying the caller's with: values as inputs. Also handle matrix include: entries and the ${{ x || 'default' }} form, which dynamo-unittest.yml uses to put 3.14t on a bigger runner. Drop the lint message tweak from the previous commit.
Summary (human written only)
Run dynamo tests with 3.13 in pull instead of 3.14t per @williamwen42 suggestion. The rest can be moved to trunk enable more saving.
Agent details (if applicable)