-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enable flash attention * code reformat * address review comments * add docstring * update docstring * add numerical correctness test * code reformat * use causal mask from call method * address review comments * update if * fix tests * update tests * enable flash attention on TPU JAX * update code * minor fix * address review comments * fix tests * run api_gen * code reformat * fix mask issue * disable causal mask in dpa because it is comuted in comput_attention_mask * fix masks tests * code reformat * disable tests of env is not supported * fix code reformat error * fix torch GPU tests * fix torch gpu tests * make everything contigious * check if mask is not before callng contigious * disable pytorch GPU test * merge master * code reformat * set bias to None * disable GPU test
- Loading branch information
1 parent
30a6b87
commit 5bf4ac7
Showing
7 changed files
with
295 additions
and
21 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
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
Oops, something went wrong.