Repository navigation
Conversation
Reverts the two PRs that ran EC2 and OSDC in parallel as a shadow-mode comparison (issue pytorch#183242), now that side-by-side data is no longer needed: - Revert "Run EC2 and OSDC in parallel on all workflows via ciflow tag pushes (pytorch#183482)" - Revert "Always run EC2 route on pull requests in _linux-build/_linux-test (pytorch#183243)" `_linux-build.yml` and `_linux-test.yml` go back to a single-route model where `use-arc` selects either the EC2 build/test job or the OSDC one, and the EC2 route again uses `runner_prefix` directly instead of the shadow-mode strip-prefix step. Since pytorch#183243 also introduced the `test-matrix-osdc` input/output schema on the reusable workflows, this PR also strips the `test-matrix-osdc:` plumbing line from the 10 OSDC-migrated workflows that adopted the schema after the shadow-traffic PRs landed (dtensor, dynamo-unittest, h100-cutlass-backend, inductor, inductor-micro-benchmark-x86, inductor-nightly, inductor-periodic, operator_benchmark, periodic, torchtitan). Without that cleanup the reusable workflow would reject those callsites with "input not defined". PR pytorch#183244 (auto-label `no-runner-experiments` on `.ci/docker/` PRs) is intentionally left in place: the `no-runner-experiments` label is a general runner-experiment opt-out in `runner_determinator.py`, not specific to the shadow-traffic experiment. Test Plan: - ``grep -rn 'test-matrix-osdc\|shadow-mode\|183242' .github/workflows/`` returns no matches. - ``git diff upstream/main`` on `_linux-build.yml` / `_linux-test.yml` matches the inverse of pytorch#183243 + pytorch#183482; the 10 follow-up workflows each lose exactly their `test-matrix-osdc:` lines and nothing else. - Push the resulting branch as a PR and confirm `pull` / `trunk` / `periodic` etc. validate (no "input not defined" errors) and run the expected single route based on `use-arc`. Authored by Claude.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/185181
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ You can merge normally! (6 Unrelated Failures)As of commit 6658c92 with merge base cc94599 ( UNSTABLE - The following jobs are marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This is a much needed cleanup. |
|
@pytorchbot merge -f 'Go go go' |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
## Summary - Reverts #183243 and #183482, ending the EC2/OSDC side-by-side shadow-mode comparison (issue #183242). `_linux-build.yml` / `_linux-test.yml` go back to a single-route model gated by `use-arc`; the EC2 route again uses `runner_prefix` directly instead of the shadow-mode strip-prefix step. - Removes the `test-matrix-osdc:` callsite line from the 10 OSDC-migrated workflows that adopted the schema after the shadow-traffic PRs landed (`dtensor`, `dynamo-unittest`, `h100-cutlass-backend`, `inductor`, `inductor-micro-benchmark-x86`, `inductor-nightly`, `inductor-periodic`, `operator_benchmark`, `periodic`, `torchtitan`). Without this cleanup the reusable workflow would reject those callsites with "input not defined" once the schema goes away. - Leaves #183244 (auto-label `no-runner-experiments` on `.ci/docker/` PRs) in place: that label is a general runner-experiment opt-out in `runner_determinator.py` and is not specific to shadow traffic. After this change, we will still running 100% on OSDC with the option to dial down if needed. ## Test plan - [ ] `pull.yml`, `trunk.yml`, `periodic.yml`, and the rest of the touched workflows validate on this PR (no "input not defined" errors). - [ ] On this PR (a `pull_request` event with `use-arc=false`), the EC2 build/test jobs run and the OSDC ones are skipped — no shadow-mode dual run. - [ ] After landing, push a `ciflow/trunk/*` tag and confirm only one of EC2/OSDC runs based on `use-arc` (no parallel dual route). - [ ] After landing, confirm a direct push to `main` continues to honor `use-arc` (single route as before). Authored by Claude. Pull Request resolved: #185181 Approved by: https://github.com/jeanschmidt
## Summary - Reverts pytorch#183243 and pytorch#183482, ending the EC2/OSDC side-by-side shadow-mode comparison (issue pytorch#183242). `_linux-build.yml` / `_linux-test.yml` go back to a single-route model gated by `use-arc`; the EC2 route again uses `runner_prefix` directly instead of the shadow-mode strip-prefix step. - Removes the `test-matrix-osdc:` callsite line from the 10 OSDC-migrated workflows that adopted the schema after the shadow-traffic PRs landed (`dtensor`, `dynamo-unittest`, `h100-cutlass-backend`, `inductor`, `inductor-micro-benchmark-x86`, `inductor-nightly`, `inductor-periodic`, `operator_benchmark`, `periodic`, `torchtitan`). Without this cleanup the reusable workflow would reject those callsites with "input not defined" once the schema goes away. - Leaves pytorch#183244 (auto-label `no-runner-experiments` on `.ci/docker/` PRs) in place: that label is a general runner-experiment opt-out in `runner_determinator.py` and is not specific to shadow traffic. After this change, we will still running 100% on OSDC with the option to dial down if needed. ## Test plan - [ ] `pull.yml`, `trunk.yml`, `periodic.yml`, and the rest of the touched workflows validate on this PR (no "input not defined" errors). - [ ] On this PR (a `pull_request` event with `use-arc=false`), the EC2 build/test jobs run and the OSDC ones are skipped — no shadow-mode dual run. - [ ] After landing, push a `ciflow/trunk/*` tag and confirm only one of EC2/OSDC runs based on `use-arc` (no parallel dual route). - [ ] After landing, confirm a direct push to `main` continues to honor `use-arc` (single route as before). Authored by Claude. Pull Request resolved: pytorch#185181 Approved by: https://github.com/jeanschmidt
The OSDC/EC2 shadow-traffic experiment (#185181) is wrapped up, so the legacy EC2 build job is no longer needed. Remove it and promote the OSDC/ARC job (build-osdc) to be the sole build job named `build`. The `use-arc` input and its `use-arc: true` call sites are intentionally left in place for a follow-up cleanup. s390x, which cannot run on ARC, will be moved to a dedicated build workflow in a separate change; until then its callers (s390.yml, s390x-periodic.yml) do not set use-arc and so no longer trigger a build here. Authored with the assistance of Claude Code. Test Plan: Static validation only (workflow change): python3 -c "import yaml; yaml.safe_load(open('.github/workflows/_linux-build.yml'))" grep -rn build-osdc .github/ # no matches Full validation is via CI on the PR (ciflow tags exercising the OSDC build path). ghstack-source-id: ada496c Pull-Request: #189113
## Summary - Reverts pytorch#183243 and pytorch#183482, ending the EC2/OSDC side-by-side shadow-mode comparison (issue pytorch#183242). `_linux-build.yml` / `_linux-test.yml` go back to a single-route model gated by `use-arc`; the EC2 route again uses `runner_prefix` directly instead of the shadow-mode strip-prefix step. - Removes the `test-matrix-osdc:` callsite line from the 10 OSDC-migrated workflows that adopted the schema after the shadow-traffic PRs landed (`dtensor`, `dynamo-unittest`, `h100-cutlass-backend`, `inductor`, `inductor-micro-benchmark-x86`, `inductor-nightly`, `inductor-periodic`, `operator_benchmark`, `periodic`, `torchtitan`). Without this cleanup the reusable workflow would reject those callsites with "input not defined" once the schema goes away. - Leaves pytorch#183244 (auto-label `no-runner-experiments` on `.ci/docker/` PRs) in place: that label is a general runner-experiment opt-out in `runner_determinator.py` and is not specific to shadow traffic. After this change, we will still running 100% on OSDC with the option to dial down if needed. ## Test plan - [ ] `pull.yml`, `trunk.yml`, `periodic.yml`, and the rest of the touched workflows validate on this PR (no "input not defined" errors). - [ ] On this PR (a `pull_request` event with `use-arc=false`), the EC2 build/test jobs run and the OSDC ones are skipped — no shadow-mode dual run. - [ ] After landing, push a `ciflow/trunk/*` tag and confirm only one of EC2/OSDC runs based on `use-arc` (no parallel dual route). - [ ] After landing, confirm a direct push to `main` continues to honor `use-arc` (single route as before). Authored by Claude. Pull Request resolved: pytorch#185181 Approved by: https://github.com/jeanschmidt
## Summary - Reverts pytorch#183243 and pytorch#183482, ending the EC2/OSDC side-by-side shadow-mode comparison (issue pytorch#183242). `_linux-build.yml` / `_linux-test.yml` go back to a single-route model gated by `use-arc`; the EC2 route again uses `runner_prefix` directly instead of the shadow-mode strip-prefix step. - Removes the `test-matrix-osdc:` callsite line from the 10 OSDC-migrated workflows that adopted the schema after the shadow-traffic PRs landed (`dtensor`, `dynamo-unittest`, `h100-cutlass-backend`, `inductor`, `inductor-micro-benchmark-x86`, `inductor-nightly`, `inductor-periodic`, `operator_benchmark`, `periodic`, `torchtitan`). Without this cleanup the reusable workflow would reject those callsites with "input not defined" once the schema goes away. - Leaves pytorch#183244 (auto-label `no-runner-experiments` on `.ci/docker/` PRs) in place: that label is a general runner-experiment opt-out in `runner_determinator.py` and is not specific to shadow traffic. After this change, we will still running 100% on OSDC with the option to dial down if needed. ## Test plan - [ ] `pull.yml`, `trunk.yml`, `periodic.yml`, and the rest of the touched workflows validate on this PR (no "input not defined" errors). - [ ] On this PR (a `pull_request` event with `use-arc=false`), the EC2 build/test jobs run and the OSDC ones are skipped — no shadow-mode dual run. - [ ] After landing, push a `ciflow/trunk/*` tag and confirm only one of EC2/OSDC runs based on `use-arc` (no parallel dual route). - [ ] After landing, confirm a direct push to `main` continues to honor `use-arc` (single route as before). Authored by Claude. Pull Request resolved: pytorch#185181 Approved by: https://github.com/jeanschmidt
Summary
_linux-build.yml/_linux-test.ymlgo back to a single-route model gated byuse-arc; the EC2 route again usesrunner_prefixdirectly instead of the shadow-mode strip-prefix step.test-matrix-osdc:callsite line from the 10 OSDC-migrated workflows that adopted the schema after the shadow-traffic PRs landed (dtensor,dynamo-unittest,h100-cutlass-backend,inductor,inductor-micro-benchmark-x86,inductor-nightly,inductor-periodic,operator_benchmark,periodic,torchtitan). Without this cleanup the reusable workflow would reject those callsites with "input not defined" once the schema goes away.no-runner-experimentson.ci/docker/PRs) in place: that label is a general runner-experiment opt-out inrunner_determinator.pyand is not specific to shadow traffic.After this change, we will still running 100% on OSDC with the option to dial down if needed.
Test plan
pull.yml,trunk.yml,periodic.yml, and the rest of the touched workflows validate on this PR (no "input not defined" errors).pull_requestevent withuse-arc=false), the EC2 build/test jobs run and the OSDC ones are skipped — no shadow-mode dual run.ciflow/trunk/*tag and confirm only one of EC2/OSDC runs based onuse-arc(no parallel dual route).maincontinues to honoruse-arc(single route as before).Authored by Claude.