Operator Registry#
The complete registry, including stages, tests and benchmark entry points, is maintained at FlagAttention conf/operators.yaml.
Operator family |
Public import |
Main layout / use |
Gradient support |
Stage |
|---|---|---|---|---|
FlashAttention |
|
Dense attention; |
Forward + backward |
Stable |
Piecewise Attention |
|
Dense attention with two Q/K pairs selected by token distance |
Forward + backward |
Stable |
Split-KV FlashAttention |
|
Long-KV decoding and low-query-parallelism workloads |
Forward |
Alpha |
Paged Attention |
|
Single-token queries over a paged KV cache |
Forward |
Alpha |
MiniMax M3 sparse attention |
Six |
128-token page scoring, top-k selection, sparse prefill and decode |
Inference |
Alpha |
Chunk GLA |
|
Recurrent gated linear attention; |
Forward + backward |
Alpha |
Chunk Gated Delta Rule |
|
Chunked delta-rule recurrence; head-first or sequence-first |
Forward |
Alpha |
GDN2 |
|
Chunked GDN2 prefill with native Triton/TLE and vendor paths |
Forward / inference |
Alpha |
Kimi Delta Attention |
|
Specialized chunked KDA inference; constraints depend on the active backend |
Inference |
Alpha |
SageAttention |
|
Per-block INT8 Q/K quantization and attention; HND or NHD layout |
Forward |
Alpha |
Parallel NSA |
|
Native sparse attention and compression; fixed or packed variable lengths |
Forward + backward |
Alpha |