Pass uniform_q_len to the FlashInfer prefill plan - #34670
Merged
Conversation
Port the flashinfer_backend.py hunk of #33997 (FlashInfer 0.6.17) so fast_prefill_plan matches the new plan() signature.
b8zhong
requested review from
Fridge003,
HaiShaw,
Qiaolin-Yu,
hebiao064,
ispobock and
merrymercy
as code owners
August 13, 2026 04:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Targets #34585 (
qwen38).Ports the single
flashinfer_backend.pyhunk from #33997 (Bump FlashInfer to 0.6.17): FlashInfer 0.6.17'splan()takes an extra trailinguniform_q_lenargument, sofast_prefill_planhas to pass it or the positional arg list no longer matches.Nothing else from #33997 is included.
CI States
Latest PR Test (Base): ❌ Run #31665670815
Latest PR Test (Extra): ❌ Run #31665670589