-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable hdim=64, hdim_v=512, HasQv=true
- Loading branch information
Showing
44 changed files
with
226 additions
and
13 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
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_packgqa_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, false, false, false, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_paged_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, false, true, false, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_paged_softcap_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, false, true, true, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_paged_split_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, true, true, false, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_paged_split_softcap_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, true, true, true, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, false, false, false, false>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_softcap_packgqa_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, false, false, true, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_softcap_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, false, false, true, false>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_split_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, true, false, false, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_bf16_split_softcap_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::bfloat16_t, 64, 512, true, false, true, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_packgqa_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, false, false, false, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_paged_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, false, true, false, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_paged_softcap_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, false, true, true, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_paged_split_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, true, true, false, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_paged_split_softcap_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, true, true, true, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, false, false, false, false>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_softcap_packgqa_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, false, false, true, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_softcap_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, false, false, true, false>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_split_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, true, false, false, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
9 changes: 9 additions & 0 deletions
9
hopper/instantiations/flash_fwd_hdim64_512_fp16_split_softcap_sm90.cu
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Copyright (c) 2024, Jay Shah, Ganesh Bikshandi, Ying Zhang, Vijay Thakkar, Pradeep Ramani, Tri Dao. | ||
// Splitting the different template instantiations to different files to speed up compilation. | ||
// This file is auto-generated. See "generate_kernels.py" | ||
|
||
#include "flash_fwd_launch_template.h" | ||
|
||
#ifndef FLASHATTENTION_DISABLE_HDIM64 | ||
template void run_mha_fwd_<90, cutlass::half_t, 64, 512, true, false, true, true>(Flash_fwd_params ¶ms, cudaStream_t stream); | ||
#endif |
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
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
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.