Completing the Output Tile by Tile
This follows the FlashAttention-2 forward pass. The steps are separated for explanation and do not prescribe the kernel’s instruction order.
Current step SVGCurrent step PNG · 2400 pxRepresentative scene PNG
Click the figure to open it at full size. Focus the step selector to navigate with arrow keys.