Kernels
flash-attn2 / benchmarks /benchmark.py
drbh's picture
drbh HF Staff
Benchmarks uploaded using `kernels`.
97e63f9 verified
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