Repository navigation
[FlyDSL] Fix main CI: missing DROPPED_ROUTE_ROW import in moe_contiguous_psum - #7583
Conversation
- 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.
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
READY FOR HUMAN REVIEWPR Self-ReviewRevision Author self-review accepted. Readiness report: Author answers
Show the author's self-review answersBehavior and intentValidation and unverified scopePR-specific questionChanged op testsPR state
Copilot findings
Code and op-test hygiene
Required CI
Shadow mode reports what would block but keeps the status successful. Set |
- 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.
Motivation
op_tests/test_flydsl_moe_aux.pyfails on main withNameError: 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_ROWinaiter/ops/flydsl/kernels/moe_contiguous_psum.py, as it was before #7494.Test Plan
python op_tests/test_flydsl_moe_aux.pyon 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.pycan tag routes with no grouped row again instead of raisingNameError. No other change.Validation and unverified scope
On gfx950 (MI355X):
python op_tests/test_flydsl_moe_aux.pyfailed on main with theNameErrorand 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 importmoe_contiguous_psum.py, so the import adds no cycle. It is the same import the file had before #7494.Changed op tests
None.