Kernels:
Trusted publisher
This is the repository card of kernels-community/flash-attn4 that has been pushed on the Hub. It was built to be used with the kernels library. This card was automatically generated.
How to use
# make sure `kernels` is installed: `pip install -U kernels`
from kernels import get_kernel
kernel_module = get_kernel("kernels-community/flash-attn4", version=1)
_private_for_testing = kernel_module._private_for_testing
_private_for_testing(...)
Available functions
_private_for_testingflash_attn_funcflash_attn_varlen_func
Benchmarks
No benchmark available yet.
Source code
Source code of this kernel originally comes from https://github.com/Dao-AILab/flash-attention.git and it was repurposed for compatibility with kernels.
- Downloads last month
- 145
bsd-3-clause
Supported hardwares new
CUDA
- Kernel Builder
- a7f0afd





