Repository navigation
[FlyDSL] AOT replay: pass out= so blockscale bpreshuffle jobs reach FlyDSL - #8433
Conversation
Since #8291, gemm_a8w8_blockscale_bpreshuffle without out= goes through a routed custom op, and under the AOT dry run's FakeTensors only its fake runs. The replay jobs never reached the FlyDSL dispatch, so their rows were reported [UNREACHED] and no kernel was built. Naming out= takes the native path, which is the one the replay is meant to drive. Co-Authored-By: Claude Opus 5.5 <[email protected]>
🏷️ 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 |
|
I tested this on gfx950, since the PR says it couldn't be tested on a GPU. It fixes the gap, and on main the gap is silent, so I think it should land soon. Setup: aiter main
On main the replay prints Asks:
|
Motivation
#8291 routed
gemm_a8w8_blockscale_bpreshufflethrough a registered custom op wheneveroutisNone. The FlyDSL AOT replay (python -m aiter.aot.flydsl.gemm) calls each entry on FakeTensors insidedry_run, and there a custom op runs only its fake. The FlyDSL dispatch is never reached, so the replay reported the rows as[UNREACHED] ... request no FlyDSL kerneland built nothing for them.On main, replaying 3 rows from
a8w8_blockscale_bpreshuffle_tuned_gemmand 3 froma8w8_blockscale_mxscale_bpreshuffle_tuned_gemmgives9 ok, 0 failedbut[UNREACHED] 9 rows.Change
_a8w8_blockscale_bpreshuffleand_a8w8_blockscale_mxscale_bpreshuffleinaiter/aot/flydsl/gemm.pynow passout=. The op's docstring documents that passingout=bypasses routing and runs the native path, which is the one the replay is meant to drive.outonly suppliesY.Open question
gemm_a8w8_blockscale(the_a8w8_blockscalejob) is routed too and has many FlyDSL rows, but it has noout=and so no bypass. Its rows are probably unreached in the same way. It needs a different fix (for example, the replay calling the native function directly), which this PR does not include.Test
gemm_a8w8_blockscale_bpreshuffletakes the routed custom op only whenout is None(aiter/ops/gemm_op_a8w8.py).🤖 Generated with Claude Code