Repository navigation
[HIP] [FlyDSL] [JIT] Revert " Feat/topk per row gfx950" - #6991
Conversation
This reverts commit f40355c.
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
…ing topk_plain on gfx1250 (#7014) * Reapply "[HIP] [FlyDSL] [JIT] Feat/topk per row gfx950 (#5686)" (#6991) This reverts commit 93d4679. * topk_select: keep plain's module off the arches it does not build for topk_plain_batches_ragged_rows now asks plain's module (topk_plain_uses_radix) rather than a Python mirror of it, and _available asks it for every fp32 call with k <= 2048 on any GPU. On gfx1250 the first topk_select call therefore builds module_topk_plain, and that build fails: topk_plain_kernels.cu's `>= 2 * opus::get_warp_size()` static_asserts do not hold at wave32. It fails the same way without this branch; every other topk translation unit builds for gfx1250. plain is now offered, and its module asked, on gfx942 and gfx950 only. The other shape rules ask it only where plain is in the set or the arch is one of those two, so a gfx1250 call routes among argmax, small_k, decode and stream without touching the module. test_plain_off_its_arches routes as gfx1250 with every module_topk_plain binding refusing: all 450 of its calls asked one before this change, none after.
…ing topk_plain on gfx1250 (#7014) * Reapply "[HIP] [FlyDSL] [JIT] Feat/topk per row gfx950 (#5686)" (#6991) This reverts commit 93d4679. * topk_select: keep plain's module off the arches it does not build for topk_plain_batches_ragged_rows now asks plain's module (topk_plain_uses_radix) rather than a Python mirror of it, and _available asks it for every fp32 call with k <= 2048 on any GPU. On gfx1250 the first topk_select call therefore builds module_topk_plain, and that build fails: topk_plain_kernels.cu's `>= 2 * opus::get_warp_size()` static_asserts do not hold at wave32. It fails the same way without this branch; every other topk translation unit builds for gfx1250. plain is now offered, and its module asked, on gfx942 and gfx950 only. The other shape rules ask it only where plain is in the set or the arch is one of those two, so a gfx1250 call routes among argmax, small_k, decode and stream without touching the module. test_plain_off_its_arches routes as gfx1250 with every module_topk_plain binding refusing: all 450 of its calls asked one before this change, none after.
…ing topk_plain on gfx1250 (#7014) * Reapply "[HIP] [FlyDSL] [JIT] Feat/topk per row gfx950 (#5686)" (#6991) This reverts commit 93d4679. * topk_select: keep plain's module off the arches it does not build for topk_plain_batches_ragged_rows now asks plain's module (topk_plain_uses_radix) rather than a Python mirror of it, and _available asks it for every fp32 call with k <= 2048 on any GPU. On gfx1250 the first topk_select call therefore builds module_topk_plain, and that build fails: topk_plain_kernels.cu's `>= 2 * opus::get_warp_size()` static_asserts do not hold at wave32. It fails the same way without this branch; every other topk translation unit builds for gfx1250. plain is now offered, and its module asked, on gfx942 and gfx950 only. The other shape rules ask it only where plain is in the set or the arch is one of those two, so a gfx1250 call routes among argmax, small_k, decode and stream without touching the module. test_plain_off_its_arches routes as gfx1250 with every module_topk_plain binding refusing: all 450 of its calls asked one before this change, none after.
Reverts #5686 On the gfx1250, a compilation error occurred because of the dispatch to the hip topk_per_row_kernels.