Repository navigation
[Test] test_moe_2stage: compile whole-graph impl__ rows on demand - #8485
Conversation
_iter_csv_cases selects every tuned row whose kernelName1 contains "flydsl_" and runs it under FLYDSL_RUNTIME_RUN_ONLY=1. The AOT replay in aiter/aot/flydsl/moe.py prebuilds only rows whose kernelName1 starts with "flydsl_" or "cktile_", so it skips the whole-graph impl__flydsl_gfx942__ rows. ROCm#8064 added the first such rows for 304 CUs. On MI300X the first of them fails with "FLYDSL_RUNTIME_RUN_ONLY=1 but no usable AOT cache for launch_batch1". Let those rows compile on demand, as the targeted and SiTUv2 cases already do. They still run and are still compared with the reference.
🏷️ CI GuideRuns automatically on every PR:
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 |
Why
MI300X shard 5 reaches whole-graph
impl__flydsl_gfx942__rows intest_moe_2stage.pywhile running withFLYDSL_RUNTIME_RUN_ONLY=1.The FlyDSL AOT replay currently prebuilds rows whose first kernel starts with
flydsl_orcktile_, so it skips theseimpl__rows. The test then fails withno usable AOT cache for launch_batch1before it can compare the kernel output.Failure: https://github.com/ROCm/aiter/actions/runs/45105847757/job/137510032105
Change
Let whole-graph
impl__rows compile on demand, matching the existing handling for targeted configs and SiTUv2 modes. The cases still run and compare against the reference.The AOT replay/cache coverage fix is being tracked separately with the FlyDSL owner.
Validation
python -m py_compile op_tests/test_moe_2stage.pygit diff --check origin/main...HEAD