Repository navigation
Add FlashAttention3 to CP implementations - #1232
Merged
Merged
Conversation
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Signed-off-by: Xiaowei Ren <[email protected]>
Collaborator
Author
|
/te-ci pytorch |
Signed-off-by: Xiaowei Ren <[email protected]>
xrennvidia
requested review from
cyanguwa and
ksivaman
and removed request for
ksivaman
October 11, 2024 03:04
cyanguwa
approved these changes
Oct 11, 2024
Signed-off-by: Charlene Yang <[email protected]>
timmoon10
pushed a commit
to timmoon10/TransformerEngine
that referenced
this pull request
Nov 7, 2024
* fa2 function import renaming Signed-off-by: Xiaowei Ren <[email protected]> * refine fa_fwd_kwargs and fa_bwd_kwargs Signed-off-by: Xiaowei Ren <[email protected]> * import FA3 fucntions for CP Signed-off-by: Xiaowei Ren <[email protected]> * fix output of FA3 fwd Signed-off-by: Xiaowei Ren <[email protected]> * fix rng_state in a2a implementation with FA3 Signed-off-by: Xiaowei Ren <[email protected]> * hack lse correction for packed lse format Signed-off-by: Xiaowei Ren <[email protected]> * make CP thd out correction work with packed lse Signed-off-by: Xiaowei Ren <[email protected]> * fix for packed softmax_lse Signed-off-by: Xiaowei Ren <[email protected]> * fix softmax_lse shape Signed-off-by: Xiaowei Ren <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * change lse_packed to constexpr Signed-off-by: Xiaowei Ren <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Xiaowei Ren <[email protected]> Signed-off-by: Charlene Yang <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Charlene Yang <[email protected]>
xiaoteng-cui-mt
pushed a commit
to MooreThreads/MT-TransformerEngine
that referenced
this pull request
Oct 9, 2026
* fa2 function import renaming Signed-off-by: Xiaowei Ren <[email protected]> * refine fa_fwd_kwargs and fa_bwd_kwargs Signed-off-by: Xiaowei Ren <[email protected]> * import FA3 fucntions for CP Signed-off-by: Xiaowei Ren <[email protected]> * fix output of FA3 fwd Signed-off-by: Xiaowei Ren <[email protected]> * fix rng_state in a2a implementation with FA3 Signed-off-by: Xiaowei Ren <[email protected]> * hack lse correction for packed lse format Signed-off-by: Xiaowei Ren <[email protected]> * make CP thd out correction work with packed lse Signed-off-by: Xiaowei Ren <[email protected]> * fix for packed softmax_lse Signed-off-by: Xiaowei Ren <[email protected]> * fix softmax_lse shape Signed-off-by: Xiaowei Ren <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * change lse_packed to constexpr Signed-off-by: Xiaowei Ren <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Xiaowei Ren <[email protected]> Signed-off-by: Charlene Yang <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Charlene Yang <[email protected]>
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.
Description
Enable FA3 in all CP implementation. Work in BF16 and FP16 now.
Type of change
Checklist: