ggml_flash_attn_ext_add_sinks: Attach Attention Sinks to a Flash-Attention Node
Description
Adds per-head "sink" logits, an always-available extra key that lets a query
attend to nothing in particular.
Usage
ggml_flash_attn_ext_add_sinks(tensor, sinks)
Value
The tensor (for chaining)
Arguments
- tensor
A flash-attention node
- sinks
Sink logits, one per head