flash-attn2 / benchmark.py
drbh
Migrated from kernels-community/flash-attn2
1779e8b unverified
raw
history blame contribute delete
317 Bytes
from kernels.benchmarks import (
FlashAttentionBenchmark,
FlashAttentionCausalBenchmark,
FlashAttentionVarlenBenchmark,
)
class FlashAttn(FlashAttentionBenchmark):
pass
class FlashAttnCausal(FlashAttentionCausalBenchmark):
pass
class FlashAttnVarlen(FlashAttentionVarlenBenchmark):
pass