What does Flash attention mean in inference serving?
Flash attention is an IO-aware exact attention method that tiles computation around limited on-chip memory. It avoids materializing the full attention score matrix in high-bandwidth memory. A compatible kernel processes query, key, and value tiles while maintaining numerically stable running statistics. Kernel selection and tile sizes vary with data type, head shape, and accelerator.