-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[C/PyTorch] RoPE fixes and minor improvements for fused attention (#453)
* add support for h2d/2hd in 8.9.6 Signed-off-by: Charlene Yang <[email protected]> * cull unit tests in fused_attn.py and add skipif for layout tests Signed-off-by: Charlene Yang <[email protected]> * add workopt=1 flag for dpa tests Signed-off-by: Charlene Yang <[email protected]> * update support table for arbi_seqlen backend Signed-off-by: Charlene Yang <[email protected]> * fix rotary position embedding and add unit tests accordingly Signed-off-by: Charlene Yang <[email protected]> * further cut down unit tests for CI efficiency Signed-off-by: Charlene Yang <[email protected]> * fix lint Signed-off-by: Charlene Yang <[email protected]> * remove einops dependency Signed-off-by: Charlene Yang <[email protected]> --------- Signed-off-by: Charlene Yang <[email protected]>
- Loading branch information
Showing
3 changed files
with
106 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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