Repository navigation
[MUSA] Use MATE Mutlass backend for MAGI-2 FA3 consumer - #7307
Closed
yeahdongcn wants to merge 9 commits into
Closed
yeahdongcn wants to merge 9 commits into
yeahdongcn wants to merge 9 commits into
Conversation
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com> (cherry picked from commit c45d685)
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
Signed-off-by: Xiaodong Ye <xiaodong.ye@mthreads.com>
Collaborator
Contributor
Author
|
Superseded by #8498. The MUSA FA3 consumer there keeps MATE's default backend selection. |
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.
MUSA FA3 consumer for MAGI-2 Preview
Draft child PR for the MUSA consumer side of MAGI-2 attention. This is based on the shared FA3 varlen adapter in #7249. Please merge/review #7249 first, or treat this PR as a stacked Draft. The historical #7156 branch remains unchanged.
Scope
autobackend. Normalize packed LSE to Omni's [H,T] contract before MAGI-2 sink correction.Validation
Published commit: a9921de (full SHA verified on the fork). The current source includes dynamic MATE LSE ABI detection, provider-default selection, FP32 sink correction and the explicit short-sequence policy. Earlier pre-ABI runs are retained only as diagnostic evidence.
The generic adapter does not expose a mandatory
backendparameter. This consumer only adapts installed MATE ABI variants (return_softmax_lseversusreturn_attn_probs) and LSE layout; backend policy stays with MATE'sautodefault. The tiny-transformer gate is not relaxed: it uses the documented exact fallback for this short-sequence regime. The six passing operator oracles do not imply full-model FA3 accuracy for long sequences.Remaining gates
No full272p/10s checkpoint, multi-rank EP, graph/capture, memory-capacity or DiT step performance validation was performed. The historical consumer and #7156 branches remain unchanged. Backend numerical improvement is not a performance claim; full-model accuracy and <=0.7s/step remain open. This PR stays Draft.