forked from facebookresearch/xformers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ghstack-source-id: 80926e210412d5e00ff714ecb208386b15ab2029 Pull Request resolved: fairinternal/xformers#1084 __original_commit__ = fairinternal/xformers@689b03b
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
Submodule flash-attention
updated
21 files
+2 −2 | .github/workflows/publish.yml | |
+50 −12 | csrc/flash_attn/flash_api.cpp | |
+34 −11 | csrc/flash_attn/src/flash_bwd_launch_template.h | |
+53 −56 | csrc/flash_attn/src/flash_fwd_kernel.h | |
+30 −9 | csrc/flash_attn/src/flash_fwd_launch_template.h | |
+8 −1 | csrc/flash_attn/src/softmax.h | |
+2 −1 | csrc/ft_attention/setup.py | |
+2 −1 | csrc/fused_dense_lib/setup.py | |
+2 −1 | csrc/fused_softmax/setup.py | |
+2 −1 | csrc/layer_norm/setup.py | |
+2 −1 | csrc/rotary/setup.py | |
+2 −1 | csrc/xentropy/setup.py | |
+1 −1 | flash_attn/__init__.py | |
+9 −1 | flash_attn/flash_attn_interface.py | |
+4 −0 | flash_attn/modules/mha.py | |
+5 −5 | flash_attn/ops/triton/layer_norm.py | |
+0 −13 | flash_attn/ops/triton/rotary.py | |
+9 −3 | setup.py | |
+60 −29 | tests/test_flash_attn.py | |
+37 −0 | tests/test_rotary.py | |
+2 −2 | training/Dockerfile |
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