Skip to content
โ† ๐Ÿ”ฆ Attention Kernels
Advanced

Split-KV Decoding (Flash-Decoding)

In decode there is one query row per sequence, so a FlashAttention kernel parallelized over batch and heads launches too few thread blocks to pull full HBM bandwidth. Split-KV divides each sequence's keys across blocks and merges the partial results exactly with their log-sum-exp, which decides whether long-context decode reaches bandwidth.

Get full Premium access ยท โ‚น2,000 / $25

Every worked answer and derivation in all 12 topics, every concept page, and the full practice-test bank.

6 months ยท One payment ยท No auto-renewal

RELATED CONCEPTS
PRACTICE THIS IN REAL QUESTIONS