[CUDA] Update fused MHA to support flash attention and causal mask #13953
FMHA supports flash attention and causal
30d9b426
Fix unrelated build error
868547cd
refactoring
23da0d40
tianleiwu
marked this pull request as draft 3 years ago
Fix causal fall back condition
50622274
Merge branch 'main' into tlwu/trt_flash_attention
2ae808c7
disable Attention_Mask1D_Fp16_B2_FusedNoPadding
14405a7c
Merge branch 'main' into tlwu/trt_flash_attention
df5b4bf2
tianleiwu
marked this pull request as ready for review 3 years ago
yufenglee
dismissed these changes
on 2022-12-22
fix static analysis warning
218f2c54
tianleiwu
dismissed their stale review
via 218f2c54
3 years ago
yufenglee
dismissed these changes
on 2022-12-23
Do not use fused kernel in training builds
24fbe693
tianleiwu
dismissed their stale review
via 24fbe693
3 years ago
fix build
fa53969f
Add TensorRT flash attention kernels
b2df7373
fix unroll list
b80bf153
integrate trt flash attention
6674fc62
fix build
eb3015da
Merge branch 'main' into tlwu/trt_flash_attention_v2
115bbcfd
remove non flash kernel with S=512
874e23cb
clean up code
09d0c6da
tianleiwu
marked this pull request as draft 3 years ago
consolidate flash attention kernels
1c7a2ffe
move causal kernels to sub-directories
4d80d83d
support sm89
7e88f16d
tianleiwu
marked this pull request as ready for review 3 years ago
gh-yewang
approved these changes
on 2022-12-30
tianleiwu
merged
6a9dc6c9
into main 3 years ago
tianleiwu
deleted the tlwu/trt_flash_attention branch 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub