Add more GPU architctures support#76
Merged
Merged
Conversation
Collaborator
|
Test in README needs update. |
beginlner
reviewed
Jul 23, 2025
beginlner
reviewed
Jul 23, 2025
beginlner
reviewed
Aug 1, 2025
Collaborator
|
LGTM! |
LucasWilkinson
pushed a commit
to vllm-project/FlashMLA
that referenced
this pull request
Aug 1, 2025
* Add more GPU architctures support * Merge fmha and mla runner * add varlen & non varlen support, and add incontiguous tensor support * update readme * add varlen api --------- Co-authored-by: dianzhangc <dianzhangc@nvidia.com> Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com>
MatthewBonanni
pushed a commit
to MatthewBonanni/FlashMLA
that referenced
this pull request
Aug 5, 2025
* Add more GPU architctures support * Merge fmha and mla runner * add varlen & non varlen support, and add incontiguous tensor support * update readme * add varlen api --------- Co-authored-by: dianzhangc <dianzhangc@nvidia.com>
This was referenced Aug 12, 2025
|
Hi guys @uchihatmtkinu, I noticed there is a SM90 FMHA example offered by cutlass, so I wonder the feasibility to build corresponding SM90 dense prefill ops. Besides, How hard would it be to support GQA? |
Collaborator
Author
|
Hi @kiwi3shark , it should be feasible on SM90 with CUTLASS example for MLA and GQA. However, we have no plan to implement them at current. |
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.
Hi FlashMLA Team,
This PR, submitted by NVIDIA, introduces support for additional GPU architectures in FlashMLA.
Key Points
More GPU Support
Design for MLA Shape($d_{qk}=192$ , $d_{vo}=128$ )
Forward Kernel[PR]
Mainly based on the implementation of FMHA. The main changes are as follows:
PipelineTmaAsyncMlato support producer to acquire specific bytes of data. since tileK is not equal to tileV when using MLA.Backward Kernel[PR]
The backward FMHA kernel has several changes to handle the larger$d_{qk}$ size:
Q_TILE=64andKV_TILE=128On-going and coming soon
Long-term optimization
We are actively working on these optimizations. It aims to continuously provide support for NVIDIA's latest GPU hardware in FlashMLA, ensuring the community can perform efficient and scalable training and inference with DeepSeek models for next-generation AI workloads.
Thanks!