Skip to content

[FlyDSL] Fix main CI: missing DROPPED_ROUTE_ROW import in moe_contiguous_psum - #7583

Merged
RElbers merged 1 commit into
mainfrom
relbers/fix-dropped-route-row-import
Nov 6, 2026
Merged

RElbers merged 1 commit into
mainfrom
relbers/fix-dropped-route-row-import

Conversation

@RElbers

@RElbers RElbers commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

op_tests/test_flydsl_moe_aux.py fails on main with NameError: name 'DROPPED_ROUTE_ROW' is not defined (for example run 42178389550, Standard Tests shard 2 on MI300X and MI35X). #7494 removed the import on a branch where only comments still named the constant, while #7365, merged in between, had added a use in code (moe_contiguous_psum.py:665). The two merged without a conflict, so the combined file was never tested.

Technical Details

Restores from aiter.ops.flydsl.kernels.moe_route_maps import DROPPED_ROUTE_ROW in aiter/ops/flydsl/kernels/moe_contiguous_psum.py, as it was before #7494.

Test Plan

python op_tests/test_flydsl_moe_aux.py on gfx950 (MI355X), on main and with this change.

Test Result

On main it fails with the NameError; with this change it passes (exit 0, no traceback).

PR Self-Review

Reviewed revision

8e057e3

Behavior and intent

Restores a missing import, so the contiguous route remap in moe_contiguous_psum.py can tag routes with no grouped row again instead of raising NameError. No other change.

Validation and unverified scope

On gfx950 (MI355X): python op_tests/test_flydsl_moe_aux.py failed on main with the NameError and passed with this change. Unverified: the same test on MI300X, where CI also failed; the cause is the same missing name, not the arch.

PR-specific question

The constant lives in moe_route_maps.py, which does not import moe_contiguous_psum.py, so the import adds no cycle. It is the same import the file had before #7494.

Changed op tests

None.

- Restores the import of DROPPED_ROUTE_ROW from moe_route_maps, which the
  route remap uses for routes with no grouped row.

#7494 dropped the import on a branch where only comments still named the
constant; #7365, merged in between, had added a use in code, so the merged
file raised NameError and test_flydsl_moe_aux.py failed on main.
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter op tests (gfx942 + gfx950)
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
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 gfx1201 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 7583 --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.

@RElbers
RElbers marked this pull request as ready for review November 6, 2026 15:52
@RElbers
RElbers requested review from a team and a balanced review from Copilot November 6, 2026 15:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions github-actions Bot changed the title Fix main CI: missing DROPPED_ROUTE_ROW import in moe_contiguous_psum [FlyDSL] Fix main CI: missing DROPPED_ROUTE_ROW import in moe_contiguous_psum Nov 6, 2026
@github-actions github-actions Bot added the FlyDSL label Nov 6, 2026
@aiter-bot

aiter-bot commented Nov 6, 2026 •

Copy link
Copy Markdown

READY FOR HUMAN REVIEW

PR Self-Review

Revision 8e057e3d22b4 · mode shadow

Author self-review accepted. Readiness report:

Author answers

  • PASS — current-SHA answers are present and structurally specific
Show the author's self-review answers

Behavior and intent

Restores a missing import, so the contiguous route remap in `moe_contiguous_psum.py` can tag routes with no grouped row again instead of raising `NameError`. No other change.

Validation and unverified scope

On gfx950 (MI355X): `python op_tests/test_flydsl_moe_aux.py` failed on main with the `NameError` and passed with this change. Unverified: the same test on MI300X, where CI also failed; the cause is the same missing name, not the arch.

PR-specific question

The constant lives in `moe_route_maps.py`, which does not import `moe_contiguous_psum.py`, so the import adds no cycle. It is the same import the file had before #7494.

Changed op tests

None.

PR state

  • PASS — pull request is marked ready for review

Copilot findings

  • PASS — no active Copilot finding lacks a substantive author reply
  • ADVISORY — Copilot could not review the current head (for example, quota or service failure)

Code and op-test hygiene

  • PASS — no committed artifact or conflict marker detected

Required CI

  • PASS — Black: passed
  • PASS — Ruff: passed
  • PASS — Repository dependency: passed
  • PASS — Aiter Test Gate: passed

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

@RElbers
RElbers merged commit a97e999 into main Nov 6, 2026
@RElbers
RElbers deleted the relbers/fix-dropped-route-row-import branch November 6, 2026 20:52
ruanjm pushed a commit that referenced this pull request Nov 10, 2026
- Restores the import of DROPPED_ROUTE_ROW from moe_route_maps, which the
  route remap uses for routes with no grouped row.

#7494 dropped the import on a branch where only comments still named the
constant; #7365, merged in between, had added a use in code, so the merged
file raised NameError and test_flydsl_moe_aux.py failed on main.
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.

4 participants