attn-decode / README.md
pat883's picture
Add kernel card (library_name: kernels)
2d2dfa8 verified
|
Raw
History Blame Contribute Delete
604 Bytes
---
library_name: kernels
tags:
- kernels
- rocm
---
# Flash-Attention Decode (RDNA4/gfx1201)
Dense, paged, and fp8 flash-attention decode kernels (GQA, sliding-window, block-table KV cache).
Built with [kernel-builder](https://github.com/huggingface/kernel-builder) for AMD RDNA4 (gfx1201).
Load with the [`kernels`](https://github.com/huggingface/kernels) library:
```python
from kernels import get_kernel
kernel = get_kernel("pat883/attn-decode")
```
> Requires a ROCm PyTorch build (torch 2.10 / ROCm 7.x) on an RDNA4 card. Built variants:
> `torch210-cxx11-rocm70` and `torch210-cxx11-rocm71`.