[TLE] Optimize fp8_fp4_paged_mqa_logits with a TLE TMA+WGMMA fast path - #698
Open
henghengxiedaima wants to merge 1 commit into
Open
[TLE] Optimize fp8_fp4_paged_mqa_logits with a TLE TMA+WGMMA fast path#698henghengxiedaima wants to merge 1 commit into
henghengxiedaima wants to merge 1 commit into
Conversation
|
|
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.
PR Category
Operator
Type of Change
Performance Optimization
Description
Title: Optimize fp8_fp4_paged_mqa_logits with a TLE TMA+WGMMA fast path (SM90+)
Body:
Summary
Adds a deterministic TLE TMA + WGMMA fast path to the paged fp8_fp4_paged_mqa_logits operator. On Hopper (SM90+) with TLE available, shapes in the measured win band (D == 128, block_size == 256, max_ctx ∈ [12288, 16384]) are dispatched to a TMA-fed, shared-memory-resident WGMMA kernel; everything else keeps the existing Triton baseline. The change is purely additive — no existing code path is modified.
What was optimized
Issue
Progress
Performance