Repository navigation
Conversation
…w tags Two changes that together let trunk runs (via ciflow/trunk/*) execute EC2 and OSDC test routes in parallel during the OSDC shadow-mode experiment: 1. trunk.yml: mirror the pull.yml plumbing from pytorch#183243 so the four _linux-test.yml callers forward the OSDC-remapped test matrix emitted by _linux-build.yml. Without this the test-osdc job would fall back to the EC2 test matrix and schedule OSDC tests against non-mt- runner labels. 2. _linux-build.yml + _linux-test.yml: widen the shadow-mode guard from `github.event_name == 'pull_request'` to also include `startsWith(github.ref, 'refs/tags/ciflow/')`. This enables dual-route on ciflow/* tag pushes (e.g. ciflow/trunk/<PR>) while leaving direct pushes to main/release branches and scheduled workflows on the original single-route behavior gated by use-arc. Part of pytorch#183242. To be reverted once that experiment concludes. Authored by Claude.
b073e6e to
00806fe
Compare
|
@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 |
|
@pytorchbot revert -m 'Let do this for all workflows for completeness' -c weird |
|
@pytorchbot successfully started a revert job. Check the current status here. |
|
Halting the revert as the revert comment has been edited. |
|
@pytorchbot revert -m 'Let do this for all workflows for parity between EC2 and OSDC' -c weird |
|
@pytorchbot successfully started a revert job. Check the current status here. |
…183482)" This reverts commit 12bca9d. Reverted #183482 on behalf of https://github.com/huydhn due to Let do this for all workflows for parity between EC2 and OSDC ([comment](#183482 (comment)))
|
@huydhn your PR has been successfully reverted. |
Following the trunk.yml pattern in this branch, plumb test-matrix-osdc through every _linux-test.yml caller in the rest of the OSDC-migrated workflows so test-osdc routes to the OSDC-remapped runner labels under the shadow-mode experiment (pytorch#183242). The _linux-build.yml and _linux-test.yml guard updates already on this branch cover the ciflow/* tag-push case for these workflows too. pull.yml is already plumbed (pytorch#183243). nightly.yml only migrates the build side (no _linux-test.yml caller). The ROCm test job in the operator microbenchmark workflows uses _rocm-test.yml and is left alone. Authored by Claude.
|
@pytorchbot merge -f 'CI only tweaks, lint jobs have passed' |
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 |
…183482) Similar to pytorch#183243, this is to be cleaned up once pytorch#183242 concludes ## Summary Two changes that together let trunk runs (via `ciflow/trunk/*`) execute EC2 and OSDC test routes in parallel during the OSDC shadow-mode experiment. ### 1. `trunk.yml` plumbing Mirror pytorch#183243's `pull.yml` change so the four `_linux-test.yml` callers forward the OSDC-remapped test matrix emitted by `_linux-build.yml`. Without this, `test-osdc` falls back to the EC2 test matrix and would schedule OSDC tests against non-`mt-` runner labels. Sites touched: - `linux-jammy-cuda13_0-py3_10-gcc11-test` - `verify-cachebench-cpu-test` - `linux-jammy-py3-clang18-executorch-test` - `linux-jammy-aarch64-py3_10-gcc13-test` ### 2. Widened shadow-mode guard in `_linux-build.yml` / `_linux-test.yml` The guard from pytorch#183243 was `github.event_name == 'pull_request'`. That excludes trunk runs, which are `push` events. Add `startsWith(github.ref, 'refs/tags/ciflow/')` so ciflow tag pushes also dual-route. Direct pushes to `main` / `release/*` / `landchecks/*` use `refs/heads/...` and are not matched, so they keep the original single-route behavior (use-arc selects one). ### Where each event lands now | Event | `use-arc=true` | `use-arc=false` | |---|---|---| | pull_request | EC2 + OSDC (unchanged) | EC2 only | | push to ciflow/* tag | **EC2 + OSDC (new)** | EC2 only | | push to main/release/landchecks | OSDC only | EC2 only | | schedule / workflow_dispatch | OSDC only | EC2 only | Part of pytorch#183242. To be reverted once that experiment concludes. ## Test plan - [ ] Push a ciflow/trunk tag and confirm both the EC2 `build`/`test` jobs and the `build-osdc`/`test-osdc` jobs execute (not `skipped`). - [ ] Confirm a direct merge to `main` does **not** dual-route (only one of EC2/OSDC runs based on `use-arc`). - [ ] Confirm scheduled trunk runs and `workflow_dispatch` runs are unchanged. Authored by Claude. Pull Request resolved: pytorch#183482 Approved by: https://github.com/jeanschmidt
…ytorch#183482)" This reverts commit 12bca9d. Reverted pytorch#183482 on behalf of https://github.com/huydhn due to Let do this for all workflows for parity between EC2 and OSDC ([comment](pytorch#183482 (comment)))
…ytorch#183482) Similar to pytorch#183243, this is to be cleaned up once pytorch#183242 concludes ## Summary Three changes that together let workflow runs (via `ciflow/*`) execute EC2 and OSDC test routes in parallel during the OSDC shadow-mode experiment. ### 1. `trunk.yml` plumbing Mirror pytorch#183243's `pull.yml` change so the four `_linux-test.yml` callers forward the OSDC-remapped test matrix emitted by `_linux-build.yml`. Without this, `test-osdc` falls back to the EC2 test matrix and would schedule OSDC tests against non-`mt-` runner labels. Sites touched: - `linux-jammy-cuda13_0-py3_10-gcc11-test` - `verify-cachebench-cpu-test` - `linux-jammy-py3-clang18-executorch-test` - `linux-jammy-aarch64-py3_10-gcc13-test` ### 2. Widened shadow-mode guard in `_linux-build.yml` / `_linux-test.yml` The guard from pytorch#183243 was `github.event_name == 'pull_request'`. That excludes trunk runs, which are `push` events. Add `startsWith(github.ref, 'refs/tags/ciflow/')` so ciflow tag pushes also dual-route. Direct pushes to `main` / `release/*` / `landchecks/*` use `refs/heads/...` and are not matched, so they keep the original single-route behavior (use-arc selects one). ### 3. Extend `test-matrix-osdc` plumbing to the remaining OSDC-migrated workflows Apply the same `test-matrix-osdc: ${{ needs.<build>.outputs.test-matrix-osdc }}` pattern to every `_linux-test.yml` caller in the rest of the OSDC-migrated workflows so `test-osdc` routes to the OSDC-remapped labels for those flows too. 13 files, 27 sites: `attention_op_microbenchmark.yml`, `h100-symm-mem.yml`, `inductor-micro-benchmark.yml`, `inductor-perf-compare.yml`, `inductor-perf-test-nightly.yml`, `inductor-perf-test-nightly-h100.yml`, `inductor-unittest.yml`, `operator_microbenchmark.yml`, `operator_microbenchmark_compare.yml`, `slow.yml`, `test-b200.yml`, `test-h100.yml`, `tsan.yml`. `pull.yml` is already plumbed (pytorch#183243). `nightly.yml` migrates only the build side (no `_linux-test.yml` caller). The ROCm test job in the operator microbenchmark workflows uses `_rocm-test.yml` and is left alone. ### Where each event lands now | Event | `use-arc=true` | `use-arc=false` | |---|---|---| | pull_request | EC2 + OSDC (unchanged) | EC2 only | | push to ciflow/* tag | **EC2 + OSDC (new)** | EC2 only | | push to main/release/landchecks | OSDC only | EC2 only | | schedule / workflow_dispatch | OSDC only | EC2 only | Part of pytorch#183242. To be reverted once that experiment concludes. ## Test plan - [ ] Push a ciflow/trunk tag and confirm both the EC2 `build`/`test` jobs and the `build-osdc`/`test-osdc` jobs execute (not `skipped`). - [ ] Push a ciflow tag for one of the newly-plumbed workflows (e.g. `ciflow/slow/*` or `ciflow/inductor/*`) and confirm `test-osdc` runs against `mt-`-prefixed runner labels. - [ ] Confirm a direct merge to `main` does **not** dual-route (only one of EC2/OSDC runs based on `use-arc`). - [ ] Confirm scheduled trunk runs and `workflow_dispatch` runs are unchanged. Authored by Claude. Pull Request resolved: pytorch#183482 Approved by: https://github.com/jeanschmidt
## Summary Remove `xfailIf(IS_ARM64 and IS_CPU_CAPABILITY_SVE256)` from `test_sdpa_rewriter_14_cpu` in `test/inductor/test_fused_attention.py`. The new OSDC aarch64 runner (`mt-l-arm64g3-16-62`, enabled trunk-wide via #183482) reports `IS_CPU_CAPABILITY_SVE256=True` but does not reproduce the numerical mismatch from #177244. The decorator now flips passing runs to `FAILED CONSISTENTLY` via "Unexpected success" whenever target determination pulls the file into the shard. Failure first surfaced at `07734446eb` on `trunk / linux-jammy-aarch64-py3.10 / test-osdc (default, 4, 5, mt-l-arm64g3-16-62)` and has been consistent across every subsequent main commit whose TD scope selected `test_fused_attention.py`. Closes #177244 (if the issue still applies to the older `m7g.4xlarge` runner family, we can re-narrow the gate later). ## Test plan - [ ] `pull / trunk` aarch64 OSDC test-osdc shard 4/5 turns green on this branch. - [ ] No regressions on x86 or other aarch64 shards. Pull Request resolved: #184451 Approved by: https://github.com/huydhn Co-authored-by: Huy Do <[email protected]>
## Summary Remove `xfailIf(IS_ARM64 and IS_CPU_CAPABILITY_SVE256)` from `test_sdpa_rewriter_14_cpu` in `test/inductor/test_fused_attention.py`. The new OSDC aarch64 runner (`mt-l-arm64g3-16-62`, enabled trunk-wide via pytorch#183482) reports `IS_CPU_CAPABILITY_SVE256=True` but does not reproduce the numerical mismatch from pytorch#177244. The decorator now flips passing runs to `FAILED CONSISTENTLY` via "Unexpected success" whenever target determination pulls the file into the shard. Failure first surfaced at `07734446eb` on `trunk / linux-jammy-aarch64-py3.10 / test-osdc (default, 4, 5, mt-l-arm64g3-16-62)` and has been consistent across every subsequent main commit whose TD scope selected `test_fused_attention.py`. Closes pytorch#177244 (if the issue still applies to the older `m7g.4xlarge` runner family, we can re-narrow the gate later). ## Test plan - [ ] `pull / trunk` aarch64 OSDC test-osdc shard 4/5 turns green on this branch. - [ ] No regressions on x86 or other aarch64 shards. Pull Request resolved: pytorch#184451 Approved by: https://github.com/huydhn Co-authored-by: Huy Do <[email protected]>
## 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 #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
…183482) Similar to pytorch#183243, this is to be cleaned up once pytorch#183242 concludes ## Summary Two changes that together let trunk runs (via `ciflow/trunk/*`) execute EC2 and OSDC test routes in parallel during the OSDC shadow-mode experiment. ### 1. `trunk.yml` plumbing Mirror pytorch#183243's `pull.yml` change so the four `_linux-test.yml` callers forward the OSDC-remapped test matrix emitted by `_linux-build.yml`. Without this, `test-osdc` falls back to the EC2 test matrix and would schedule OSDC tests against non-`mt-` runner labels. Sites touched: - `linux-jammy-cuda13_0-py3_10-gcc11-test` - `verify-cachebench-cpu-test` - `linux-jammy-py3-clang18-executorch-test` - `linux-jammy-aarch64-py3_10-gcc13-test` ### 2. Widened shadow-mode guard in `_linux-build.yml` / `_linux-test.yml` The guard from pytorch#183243 was `github.event_name == 'pull_request'`. That excludes trunk runs, which are `push` events. Add `startsWith(github.ref, 'refs/tags/ciflow/')` so ciflow tag pushes also dual-route. Direct pushes to `main` / `release/*` / `landchecks/*` use `refs/heads/...` and are not matched, so they keep the original single-route behavior (use-arc selects one). ### Where each event lands now | Event | `use-arc=true` | `use-arc=false` | |---|---|---| | pull_request | EC2 + OSDC (unchanged) | EC2 only | | push to ciflow/* tag | **EC2 + OSDC (new)** | EC2 only | | push to main/release/landchecks | OSDC only | EC2 only | | schedule / workflow_dispatch | OSDC only | EC2 only | Part of pytorch#183242. To be reverted once that experiment concludes. ## Test plan - [ ] Push a ciflow/trunk tag and confirm both the EC2 `build`/`test` jobs and the `build-osdc`/`test-osdc` jobs execute (not `skipped`). - [ ] Confirm a direct merge to `main` does **not** dual-route (only one of EC2/OSDC runs based on `use-arc`). - [ ] Confirm scheduled trunk runs and `workflow_dispatch` runs are unchanged. Authored by Claude. Pull Request resolved: pytorch#183482 Approved by: https://github.com/jeanschmidt
…ytorch#183482)" This reverts commit 12bca9d. Reverted pytorch#183482 on behalf of https://github.com/huydhn due to Let do this for all workflows for parity between EC2 and OSDC ([comment](pytorch#183482 (comment)))
…ytorch#183482) Similar to pytorch#183243, this is to be cleaned up once pytorch#183242 concludes ## Summary Three changes that together let workflow runs (via `ciflow/*`) execute EC2 and OSDC test routes in parallel during the OSDC shadow-mode experiment. ### 1. `trunk.yml` plumbing Mirror pytorch#183243's `pull.yml` change so the four `_linux-test.yml` callers forward the OSDC-remapped test matrix emitted by `_linux-build.yml`. Without this, `test-osdc` falls back to the EC2 test matrix and would schedule OSDC tests against non-`mt-` runner labels. Sites touched: - `linux-jammy-cuda13_0-py3_10-gcc11-test` - `verify-cachebench-cpu-test` - `linux-jammy-py3-clang18-executorch-test` - `linux-jammy-aarch64-py3_10-gcc13-test` ### 2. Widened shadow-mode guard in `_linux-build.yml` / `_linux-test.yml` The guard from pytorch#183243 was `github.event_name == 'pull_request'`. That excludes trunk runs, which are `push` events. Add `startsWith(github.ref, 'refs/tags/ciflow/')` so ciflow tag pushes also dual-route. Direct pushes to `main` / `release/*` / `landchecks/*` use `refs/heads/...` and are not matched, so they keep the original single-route behavior (use-arc selects one). ### 3. Extend `test-matrix-osdc` plumbing to the remaining OSDC-migrated workflows Apply the same `test-matrix-osdc: ${{ needs.<build>.outputs.test-matrix-osdc }}` pattern to every `_linux-test.yml` caller in the rest of the OSDC-migrated workflows so `test-osdc` routes to the OSDC-remapped labels for those flows too. 13 files, 27 sites: `attention_op_microbenchmark.yml`, `h100-symm-mem.yml`, `inductor-micro-benchmark.yml`, `inductor-perf-compare.yml`, `inductor-perf-test-nightly.yml`, `inductor-perf-test-nightly-h100.yml`, `inductor-unittest.yml`, `operator_microbenchmark.yml`, `operator_microbenchmark_compare.yml`, `slow.yml`, `test-b200.yml`, `test-h100.yml`, `tsan.yml`. `pull.yml` is already plumbed (pytorch#183243). `nightly.yml` migrates only the build side (no `_linux-test.yml` caller). The ROCm test job in the operator microbenchmark workflows uses `_rocm-test.yml` and is left alone. ### Where each event lands now | Event | `use-arc=true` | `use-arc=false` | |---|---|---| | pull_request | EC2 + OSDC (unchanged) | EC2 only | | push to ciflow/* tag | **EC2 + OSDC (new)** | EC2 only | | push to main/release/landchecks | OSDC only | EC2 only | | schedule / workflow_dispatch | OSDC only | EC2 only | Part of pytorch#183242. To be reverted once that experiment concludes. ## Test plan - [ ] Push a ciflow/trunk tag and confirm both the EC2 `build`/`test` jobs and the `build-osdc`/`test-osdc` jobs execute (not `skipped`). - [ ] Push a ciflow tag for one of the newly-plumbed workflows (e.g. `ciflow/slow/*` or `ciflow/inductor/*`) and confirm `test-osdc` runs against `mt-`-prefixed runner labels. - [ ] Confirm a direct merge to `main` does **not** dual-route (only one of EC2/OSDC runs based on `use-arc`). - [ ] Confirm scheduled trunk runs and `workflow_dispatch` runs are unchanged. Authored by Claude. Pull Request resolved: pytorch#183482 Approved by: https://github.com/jeanschmidt
## Summary Remove `xfailIf(IS_ARM64 and IS_CPU_CAPABILITY_SVE256)` from `test_sdpa_rewriter_14_cpu` in `test/inductor/test_fused_attention.py`. The new OSDC aarch64 runner (`mt-l-arm64g3-16-62`, enabled trunk-wide via pytorch#183482) reports `IS_CPU_CAPABILITY_SVE256=True` but does not reproduce the numerical mismatch from pytorch#177244. The decorator now flips passing runs to `FAILED CONSISTENTLY` via "Unexpected success" whenever target determination pulls the file into the shard. Failure first surfaced at `07734446eb` on `trunk / linux-jammy-aarch64-py3.10 / test-osdc (default, 4, 5, mt-l-arm64g3-16-62)` and has been consistent across every subsequent main commit whose TD scope selected `test_fused_attention.py`. Closes pytorch#177244 (if the issue still applies to the older `m7g.4xlarge` runner family, we can re-narrow the gate later). ## Test plan - [ ] `pull / trunk` aarch64 OSDC test-osdc shard 4/5 turns green on this branch. - [ ] No regressions on x86 or other aarch64 shards. Pull Request resolved: pytorch#184451 Approved by: https://github.com/huydhn Co-authored-by: Huy Do <[email protected]>
## 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
…183482) Similar to pytorch#183243, this is to be cleaned up once pytorch#183242 concludes ## Summary Two changes that together let trunk runs (via `ciflow/trunk/*`) execute EC2 and OSDC test routes in parallel during the OSDC shadow-mode experiment. ### 1. `trunk.yml` plumbing Mirror pytorch#183243's `pull.yml` change so the four `_linux-test.yml` callers forward the OSDC-remapped test matrix emitted by `_linux-build.yml`. Without this, `test-osdc` falls back to the EC2 test matrix and would schedule OSDC tests against non-`mt-` runner labels. Sites touched: - `linux-jammy-cuda13_0-py3_10-gcc11-test` - `verify-cachebench-cpu-test` - `linux-jammy-py3-clang18-executorch-test` - `linux-jammy-aarch64-py3_10-gcc13-test` ### 2. Widened shadow-mode guard in `_linux-build.yml` / `_linux-test.yml` The guard from pytorch#183243 was `github.event_name == 'pull_request'`. That excludes trunk runs, which are `push` events. Add `startsWith(github.ref, 'refs/tags/ciflow/')` so ciflow tag pushes also dual-route. Direct pushes to `main` / `release/*` / `landchecks/*` use `refs/heads/...` and are not matched, so they keep the original single-route behavior (use-arc selects one). ### Where each event lands now | Event | `use-arc=true` | `use-arc=false` | |---|---|---| | pull_request | EC2 + OSDC (unchanged) | EC2 only | | push to ciflow/* tag | **EC2 + OSDC (new)** | EC2 only | | push to main/release/landchecks | OSDC only | EC2 only | | schedule / workflow_dispatch | OSDC only | EC2 only | Part of pytorch#183242. To be reverted once that experiment concludes. ## Test plan - [ ] Push a ciflow/trunk tag and confirm both the EC2 `build`/`test` jobs and the `build-osdc`/`test-osdc` jobs execute (not `skipped`). - [ ] Confirm a direct merge to `main` does **not** dual-route (only one of EC2/OSDC runs based on `use-arc`). - [ ] Confirm scheduled trunk runs and `workflow_dispatch` runs are unchanged. Authored by Claude. Pull Request resolved: pytorch#183482 Approved by: https://github.com/jeanschmidt
…ytorch#183482)" This reverts commit 12bca9d. Reverted pytorch#183482 on behalf of https://github.com/huydhn due to Let do this for all workflows for parity between EC2 and OSDC ([comment](pytorch#183482 (comment)))
…ytorch#183482) Similar to pytorch#183243, this is to be cleaned up once pytorch#183242 concludes ## Summary Three changes that together let workflow runs (via `ciflow/*`) execute EC2 and OSDC test routes in parallel during the OSDC shadow-mode experiment. ### 1. `trunk.yml` plumbing Mirror pytorch#183243's `pull.yml` change so the four `_linux-test.yml` callers forward the OSDC-remapped test matrix emitted by `_linux-build.yml`. Without this, `test-osdc` falls back to the EC2 test matrix and would schedule OSDC tests against non-`mt-` runner labels. Sites touched: - `linux-jammy-cuda13_0-py3_10-gcc11-test` - `verify-cachebench-cpu-test` - `linux-jammy-py3-clang18-executorch-test` - `linux-jammy-aarch64-py3_10-gcc13-test` ### 2. Widened shadow-mode guard in `_linux-build.yml` / `_linux-test.yml` The guard from pytorch#183243 was `github.event_name == 'pull_request'`. That excludes trunk runs, which are `push` events. Add `startsWith(github.ref, 'refs/tags/ciflow/')` so ciflow tag pushes also dual-route. Direct pushes to `main` / `release/*` / `landchecks/*` use `refs/heads/...` and are not matched, so they keep the original single-route behavior (use-arc selects one). ### 3. Extend `test-matrix-osdc` plumbing to the remaining OSDC-migrated workflows Apply the same `test-matrix-osdc: ${{ needs.<build>.outputs.test-matrix-osdc }}` pattern to every `_linux-test.yml` caller in the rest of the OSDC-migrated workflows so `test-osdc` routes to the OSDC-remapped labels for those flows too. 13 files, 27 sites: `attention_op_microbenchmark.yml`, `h100-symm-mem.yml`, `inductor-micro-benchmark.yml`, `inductor-perf-compare.yml`, `inductor-perf-test-nightly.yml`, `inductor-perf-test-nightly-h100.yml`, `inductor-unittest.yml`, `operator_microbenchmark.yml`, `operator_microbenchmark_compare.yml`, `slow.yml`, `test-b200.yml`, `test-h100.yml`, `tsan.yml`. `pull.yml` is already plumbed (pytorch#183243). `nightly.yml` migrates only the build side (no `_linux-test.yml` caller). The ROCm test job in the operator microbenchmark workflows uses `_rocm-test.yml` and is left alone. ### Where each event lands now | Event | `use-arc=true` | `use-arc=false` | |---|---|---| | pull_request | EC2 + OSDC (unchanged) | EC2 only | | push to ciflow/* tag | **EC2 + OSDC (new)** | EC2 only | | push to main/release/landchecks | OSDC only | EC2 only | | schedule / workflow_dispatch | OSDC only | EC2 only | Part of pytorch#183242. To be reverted once that experiment concludes. ## Test plan - [ ] Push a ciflow/trunk tag and confirm both the EC2 `build`/`test` jobs and the `build-osdc`/`test-osdc` jobs execute (not `skipped`). - [ ] Push a ciflow tag for one of the newly-plumbed workflows (e.g. `ciflow/slow/*` or `ciflow/inductor/*`) and confirm `test-osdc` runs against `mt-`-prefixed runner labels. - [ ] Confirm a direct merge to `main` does **not** dual-route (only one of EC2/OSDC runs based on `use-arc`). - [ ] Confirm scheduled trunk runs and `workflow_dispatch` runs are unchanged. Authored by Claude. Pull Request resolved: pytorch#183482 Approved by: https://github.com/jeanschmidt
## Summary Remove `xfailIf(IS_ARM64 and IS_CPU_CAPABILITY_SVE256)` from `test_sdpa_rewriter_14_cpu` in `test/inductor/test_fused_attention.py`. The new OSDC aarch64 runner (`mt-l-arm64g3-16-62`, enabled trunk-wide via pytorch#183482) reports `IS_CPU_CAPABILITY_SVE256=True` but does not reproduce the numerical mismatch from pytorch#177244. The decorator now flips passing runs to `FAILED CONSISTENTLY` via "Unexpected success" whenever target determination pulls the file into the shard. Failure first surfaced at `07734446eb` on `trunk / linux-jammy-aarch64-py3.10 / test-osdc (default, 4, 5, mt-l-arm64g3-16-62)` and has been consistent across every subsequent main commit whose TD scope selected `test_fused_attention.py`. Closes pytorch#177244 (if the issue still applies to the older `m7g.4xlarge` runner family, we can re-narrow the gate later). ## Test plan - [ ] `pull / trunk` aarch64 OSDC test-osdc shard 4/5 turns green on this branch. - [ ] No regressions on x86 or other aarch64 shards. Pull Request resolved: pytorch#184451 Approved by: https://github.com/huydhn Co-authored-by: Huy Do <[email protected]>
## 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
Similar to #183243, this is to be cleaned up once #183242 concludes
Summary
Three changes that together let workflow runs (via
ciflow/*) execute EC2 and OSDC test routes in parallel during the OSDC shadow-mode experiment.1.
trunk.ymlplumbingMirror #183243's
pull.ymlchange so the four_linux-test.ymlcallers forward the OSDC-remapped test matrix emitted by_linux-build.yml. Without this,test-osdcfalls back to the EC2 test matrix and would schedule OSDC tests against non-mt-runner labels. Sites touched:linux-jammy-cuda13_0-py3_10-gcc11-testverify-cachebench-cpu-testlinux-jammy-py3-clang18-executorch-testlinux-jammy-aarch64-py3_10-gcc13-test2. Widened shadow-mode guard in
_linux-build.yml/_linux-test.ymlThe guard from #183243 was
github.event_name == 'pull_request'. That excludes trunk runs, which arepushevents. AddstartsWith(github.ref, 'refs/tags/ciflow/')so ciflow tag pushes also dual-route. Direct pushes tomain/release/*/landchecks/*userefs/heads/...and are not matched, so they keep the original single-route behavior (use-arc selects one).3. Extend
test-matrix-osdcplumbing to the remaining OSDC-migrated workflowsApply the same
test-matrix-osdc: ${{ needs.<build>.outputs.test-matrix-osdc }}pattern to every_linux-test.ymlcaller in the rest of the OSDC-migrated workflows sotest-osdcroutes to the OSDC-remapped labels for those flows too. 13 files, 27 sites:attention_op_microbenchmark.yml,h100-symm-mem.yml,inductor-micro-benchmark.yml,inductor-perf-compare.yml,inductor-perf-test-nightly.yml,inductor-perf-test-nightly-h100.yml,inductor-unittest.yml,operator_microbenchmark.yml,operator_microbenchmark_compare.yml,slow.yml,test-b200.yml,test-h100.yml,tsan.yml.pull.ymlis already plumbed (#183243).nightly.ymlmigrates only the build side (no_linux-test.ymlcaller). The ROCm test job in the operator microbenchmark workflows uses_rocm-test.ymland is left alone.Where each event lands now
use-arc=trueuse-arc=falsePart of #183242. To be reverted once that experiment concludes.
Test plan
build/testjobs and thebuild-osdc/test-osdcjobs execute (notskipped).ciflow/slow/*orciflow/inductor/*) and confirmtest-osdcruns againstmt--prefixed runner labels.maindoes not dual-route (only one of EC2/OSDC runs based onuse-arc).workflow_dispatchruns are unchanged.Authored by Claude.