Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/198700
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 2 Unrelated FailuresAs of commit 1bb3c02 with merge base aa98cb8 ( 🟡 GREEN LIGHT - OUTDATED (earlier commit) - PR requires human review:
reason: NEW FAILURE - The following job has failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge -i |
Merge startedYour change will be merged while ignoring the following 3 checks: trunk / macos-py3-arm64 / test (default, 3, 3, macos-m1-stable), trunk / macos-py3-arm64 / test (default, 1, 3, macos-m1-stable), trunk / macos-py3-arm64 / test (default, 2, 3, macos-m1-stable) Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
The same mechanical rewrite as the previous change, applied to every other workflow: a label the workflow already prefixes keeps the determinator expression, a label written raw gets the literal Meta pod. Every edit here was produced by matching `runner:` / `runs-on:`, so the diff is uniform and can be reviewed by spot-check. The handful of places that a search for those keys does not find are converted separately in the next change. No job changes runner. Pull Request resolved: #198703 Approved by: https://github.com/jeanschmidt ghstack dependencies: #198705, #198700
OSDC's pod-naming migration (pytorch#198700, pytorch#198703, names its ARC pod directly, so there's nothing left to translate. The one piece that migration doesn't replace -- forcing a non-allowlisted lf- entry onto mt- (ci-infra#1081) -- has no other home, so it moves to a new, minimal script. Drop --prefix entirely. inductor-periodic.yml shows a job's own runner_prefix and its hardcoded H100 entries can already diverge (job resolves to lf-, entry hardcodes mt-l-...-h100 directly), so checking each entry's own literal prefix is both simpler and avoids double-prefixing that entry to mt-mt-... when the job-level prefix is used instead. Also drop the now-dead runner_mapping, meta_only_runners and ARC_LABEL passthrough lookups: every entry already names a resolved ARC pod by the time this script sees it. Keep the onnx-config exclusion (TODO(huydo)): unrelated to LF routing, but nothing else upstream replaces it, and dropping it here would silently regress that ARC-k8s CPU-affinity workaround. Ports the still-relevant lf_allowlist coverage into test_enforce_lf_allowlist.py, drops cases that only exercised the removed translation logic, and adds a regression test for a matrix mixing a hardcoded mt- entry with a restricted, dynamically-routed lf- one. ci-infra#1081 Co-Authored-By: Claude Sonnet 5 <[email protected]> Signed-off-by: Mick Tarsel <[email protected]>
OSDC's pod-naming migration (pytorch#198700, pytorch#198703, pytorch#198706) names each ARC pod directly and deletes map_ec2_to_arc.py, the mapper that used to enforce this allowlist. The one piece that migration doesn't replace -- forcing a non-allowlisted lf- entry onto mt- -- has no other home, so it moves to a new, minimal script, wired into the same _linux-build.yml step the old mapper occupied. Checks each matrix entry's own literal lf-/mt- prefix instead of the job-level runner_prefix input: inductor-periodic.yml shows the two can already diverge (job resolves to lf-, entry hardcodes mt-l-...-h100 directly), so using the job-level prefix would have double-prefixed that entry to mt-mt-... instead. Drops the now-dead runner_mapping, meta_only_runners, and ARC_LABEL passthrough lookups: every entry already names a resolved ARC pod by the time this script sees it. Keeps the onnx-config exclusion (TODO(huydo)) as-is -- unrelated to LF routing, but nothing else upstream replaces it. Full test coverage: allowlisted / non-allowlisted / unrestricted / kill-switch cases, all passing. ci-infra#1081 Co-Authored-By: Claude Sonnet 5 <[email protected]> Signed-off-by: Mick Tarsel <[email protected]>
meta_only_runners existed only for map_ec2_to_arc.py to force the 'mt-' prefix on Meta-only hardware (H100/B200) regardless of which experiment picked the build runner. The OSDC pod-naming migration (pytorch#198700, pytorch#198703, pytorch#198705, pytorch#198706) retired that script, and every workflow now hardcodes its ARC pod label directly instead of going through the EC2->ARC mapper, so nothing reads this block anymore. Confirmed via a repo-wide grep that meta_only_runners has no references left besides its own definition. Leaves runner_mapping and lf_allowlist untouched. ci-infra#1081 Signed-off-by: Mick Tarsel <[email protected]> Co-Authored-By: Claude Sonnet 5 <[email protected]>
meta_only_runners existed only for map_ec2_to_arc.py to force the 'mt-' prefix on Meta-only hardware (H100/B200) regardless of which experiment picked the build runner. The OSDC pod-naming migration (pytorch#198700, pytorch#198703, pytorch#198705, pytorch#198706) retired that script, and every workflow now hardcodes its ARC pod label directly instead of going through the EC2->ARC mapper, so nothing reads this block anymore. Confirmed via a repo-wide grep that meta_only_runners has no references left besides its own definition. Leaves runner_mapping and lf_allowlist untouched. ci-infra#1081 Signed-off-by: Mick Tarsel <[email protected]> Co-Authored-By: Claude Sonnet 5 <[email protected]>
Stack from ghstack (oldest at bottom):
runner:does not find #198704pull,trunk,lintanddocs-buildgate viable/strict, so they go first.Their test matrices still name EC2 runners and
_linux-build.ymltranslatesthem at runtime through
arc.yaml, which hides which pod a job lands on.Each label becomes the pod it already resolved to. A label the workflow
already prefixes keeps the determinator expression, so fleet routing is
untouched; a label written raw gets the literal Meta pod, which is what the
mapper produced for it.
map_ec2_to_arc.pyexits on a label it cannot find inarc.yaml, and an ARCname is never a key there, so it now passes those through instead. That keeps
it translating anything not yet converted. A typo still fails rather than
being mistaken for a direct name, which the tests cover.
No job changes runner.