Kernels:
Trusted publisher
|
Download README.md from amd/aiter-sage-attention: direct link, hf CLI and curl.
- Browser
- Download file 738 Bytes
-
https://huggingface.co/kernels/amd/aiter-sage-attention/resolve/main/README.md
- Command line
-
hf download hf://amd/aiter-sage-attention/README.md
-
curl -L -o README.md https://huggingface.co/kernels/amd/aiter-sage-attention/resolve/main/README.md
738 Bytes
| library_name: kernels | |
| license: mit | |
| This is the repository card of kernels-community/aiter-sage-attention that has been pushed on the Hub. It was built to be used with the [`kernels` library](https://github.com/huggingface/kernels). This card was automatically generated. | |
| ## How to use | |
| ```python | |
| # make sure `kernels` is installed: `pip install -U kernels` | |
| from kernels import get_kernel | |
| kernel_module = get_kernel("kernels-community/aiter-sage-attention", version=1) | |
| gfx1201_sage_attention = kernel_module.gfx1201_sage_attention | |
| gfx1201_sage_attention(...) | |
| ``` | |
| ## Available functions | |
| - `gfx1201_sage_attention` | |
| - `gfx1201_sage_attention_fwd` | |
| - `gfx1201_sage_prepare` | |
| - `sageattn` | |
| ## Benchmarks | |
| No benchmark available yet. | |