Repository navigation
[CI] Skip torchrun CLI test in Multi-GPU suite; auto-label multigpu PRs - #9202
Conversation
test_mega_moe_v41.py (#9076) requires --check {draft,tables} and is meant to be run via torchrun, so the bare python3 invocation in aiter_test.sh fails with argparse exit 2. Skip it in the bulk Multi-GPU run, like test_mori_smoke.py. Add actions/labeler to auto-apply ci:multi-gpu when a PR touches op_tests/multigpu_tests/**, so the Multi-GPU lane runs on such PRs instead of leaking failures to main. Co-Authored-By: Claude Code <[email protected]>
🏷️ CI GuideRuns automatically on every PR:
🚦 Update: Heavy CI review gate:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: Reviews: |
WAITING ON AUTHORPR Self-ReviewRevision Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision. Questions to answer in the PR description
Edit the Missing or invalid answers
Shadow mode reports what would block but keeps the status successful. Set |
- permissions: add contents: read — the job has no checkout step, so actions/labeler fetches .github/labeler.yml via the contents API, and a permissions block that names any scope sets unlisted scopes to none; without it every run 403s and no label is ever applied - gate the job on non-fork PRs — fork PRs get a read-only GITHUB_TOKEN on pull_request events, so the add-label call would 403 with a red X - sync-labels: false — sync would strip a manually-added ci:multi-gpu on PRs not touching op_tests/multigpu_tests/**, killing the in-flight multi-GPU run (aiter-test.yaml re-checks the label after the build) - add trailing newlines to both new files, matching repo convention Co-Authored-By: Claude Code <[email protected]>
Problem
The Multi-GPU lane has been red on main since run 4368877 (Dec 3, 09:20 UTC):
op_tests/multigpu_tests/test_mega_moe_v41.py, added in #9076, requires a--check {draft,tables}argument and is meant to be run viatorchrun(see its docstring). The bulk Multi-GPU suite inaiter_test.shruns every file with a barepython3 $file, so it fails immediately with argparse exit 2:The PR CI did not catch this because the Multi-GPU lane only runs for PRs that carry the
ci:multi-gpulabel; #9076 did not have it.Changes
Skip
test_mega_moe_v41.pyin the bulk Multi-GPU suite (.github/scripts/aiter_test.sh), same treatment astest_mori_smoke.py: it is a torchrun CLI test, not a bare-python test. It can still be run manually, e.g.torchrun --nproc-per-node 8 op_tests/multigpu_tests/test_mega_moe_v41.py --check draft.Auto-apply
ci:multi-gpuviaactions/labelerwhen a PR touchesop_tests/multigpu_tests/**. The label triggers the existinglabeled-event path inaiter-test.yaml(detect_aiter_test_scope), so such PRs run the Multi-GPU lane before merge instead of leaking failures to main. The workflow grantscontents: read(the labeler fetches its config via the contents API — no checkout step), skips fork PRs (read-only token onpull_requestevents), and never removes labels (sync-labels: false) so a manually-addedci:multi-gpusurvives.Note for #9076
After this skip,
test_mega_moe_v41.pyhas no CI coverage anywhere — unliketest_mori_smoke.py, which has its own dedicated CI step. @honglie a follow-up with a dedicated step (e.g.torchrun --nproc-per-node 8 ... --check draftas its own job) or a--checkdefault would put the draft/tables checks back on CI.🤖 Generated with Claude Code