Kernels:
Trusted publisher
|
Download README.md from amd/aiter-flash-attn: direct link, hf CLI and curl.
- Browser
- Download file 768 Bytes
-
https://huggingface.co/kernels/amd/aiter-flash-attn/resolve/v2/README.md
- Command line
-
hf download hf://amd/aiter-flash-attn@v2/README.md
-
curl -L -o README.md https://huggingface.co/kernels/amd/aiter-flash-attn/resolve/v2/README.md
768 Bytes
metadata
library_name: kernels
license: mit
This is the repository card of kernels-community/aiter-flash-attn 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/aiter-flash-attn", version=2)
flash_attn_func = kernel_module.flash_attn_func
flash_attn_func(...)
Available functions
flash_attn_funcflash_attn_varlen_funcflash_attn_with_kvcachemha_set_implmha_set_use_fused_bwd_kernelmha_set_use_int64_strides
Benchmarks
No benchmark available yet.