Skip to content

[CI] Skip torchrun CLI test in Multi-GPU suite; auto-label multigpu PRs - #9202

Merged
gyohuangxin merged 2 commits into
mainfrom
ci/multigpu-skip-v41-and-labeler
Dec 4, 2026
Merged

gyohuangxin merged 2 commits into
mainfrom
ci/multigpu-skip-v41-and-labeler

Conversation

@zufayu

@zufayu zufayu commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

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 via torchrun (see its docstring). The bulk Multi-GPU suite in aiter_test.sh runs every file with a bare python3 $file, so it fails immediately with argparse exit 2:

error: the following arguments are required: --check

The PR CI did not catch this because the Multi-GPU lane only runs for PRs that carry the ci:multi-gpu label; #9076 did not have it.

Changes

  1. Skip test_mega_moe_v41.py in the bulk Multi-GPU suite (.github/scripts/aiter_test.sh), same treatment as test_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.

  2. Auto-apply ci:multi-gpu via actions/labeler when a PR touches op_tests/multigpu_tests/**. The label triggers the existing labeled-event path in aiter-test.yaml (detect_aiter_test_scope), so such PRs run the Multi-GPU lane before merge instead of leaking failures to main. The workflow grants contents: read (the labeler fetches its config via the contents API — no checkout step), skips fork PRs (read-only token on pull_request events), and never removes labels (sync-labels: false) so a manually-added ci:multi-gpu survives.

Note for #9076

After this skip, test_mega_moe_v41.py has no CI coverage anywhere — unlike test_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 draft as its own job) or a --check default would put the draft/tables checks back on CI.

🤖 Generated with Claude Code

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]>
@zufayu
zufayu requested a review from a team December 4, 2026 05:01
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Lightweight PR hygiene checks

🚦 Update: Heavy CI review gate:

  • 🔒 GPU-heavy PR CI is gated on the current PR review state.
  • ⏸️ Before the latest revision is approved, heavy workflows such as Aiter Test, Triton Test, Flash Attention Integration, and OPUS Test stop at the CI gate and do not consume GPU runners.
  • ▶️ After a non-author approves the current revision, the approval event can start the gated heavy workflows.
  • 🔁 Pushing a new commit invalidates the previous approval for CI purposes; the latest revision needs approval again before heavy CI runs.
  • 🏷️ ci:* labels select which extra tests to run, but labels do not bypass the review gate.
  • ✅ Pushes to main, scheduled runs, and manually dispatched workflows keep their normal behavior.

Extended tests (opt-in via labels):

Label Tests
ci:mi300x Run Aiter standard tests on MI300X in PRs; main branch always runs them
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
ci:windows Windows JIT op smoke test on the Radeon R9700 ROCm runner
ci:multi-gpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: DeepSeek-V4-Pro, MiniMax-M3-MXFP4
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 9202 --add-label <label>

One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to stop the title rewrites; labels stay in sync either way.

Reviews:
A reviewer is usually assigned within one working day after the PR is ready for review (see Code Review Process). If nobody has responded for about a week, mention the area contact listed in CONTACTS.md. Want to help review? See REVIEWERS.md.

@github-actions github-actions Bot added the CI label Dec 4, 2026
@aiter-bot

aiter-bot commented Dec 4, 2026 •

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision 3eea29117405 · mode shadow

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

  1. What behavior does this PR change, and why is the existing behavior insufficient?
  2. What did you validate, and what remains unverified? Include commands, hardware/configuration and results.
  3. What permissions and untrusted-input boundary does this CI change have, and can fork PR code or text reach a privileged execution path?
  4. For every changed op_tests/ file, what behavior does it cover and why is it not redundant? Write None if no op test changed.

Edit the PR Self-Review section in the PR description. Include the current revision SHA; this comment refreshes automatically.

Missing or invalid answers

  • FAIL — missing ### Reviewed revision in the PR description
  • FAIL — missing ### Behavior and intent in the PR description
  • FAIL — missing ### Validation and unverified scope in the PR description
  • FAIL — missing ### PR-specific question in the PR description
  • FAIL — missing ### Changed op tests in the PR description
  • FAIL — Reviewed revision must contain at least the first 7 characters of the current head SHA
  • FAIL — Behavior and intent has no substantive answer
  • FAIL — Validation and unverified scope has no substantive answer
  • FAIL — PR-specific question has no substantive answer

Shadow mode reports what would block but keeps the status successful. Set AITER_PR_SELF_REVIEW_MODE=enforce only after reviewing real false positives.

- 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]>
@gyohuangxin
gyohuangxin merged commit 867b241 into main Dec 4, 2026
89 of 90 checks passed
@gyohuangxin
gyohuangxin deleted the ci/multigpu-skip-v41-and-labeler branch December 4, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants