# FlashAttention: The Exact Attention Algorithm That Cuts GPU Memory Traffic, Not Math

Original title: Understanding FlashAttention Pt 1: Personal Notes

> Hacker News story 49697046 · language: en · submitted 2026-09-14
> Web version: https://zeli.app/story/49697046
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 13 · by [ibobev](<https://news.ycombinator.com/user?id=ibobev>) · 💬 0
[original](<https://chizkidd.github.io//2026/09/13/flashattention/>) · [HN discussion](<https://news.ycombinator.com/item?id=49697046>)

## Summary

A technical handbook on FlashAttention explains how tiling, online softmax, and recomputation make attention IO-aware without approximating the math. It walks through GPU memory hierarchy, the quadratic cost of materializing score matrices, and the evolution from FlashAttention-1 to -4. The core insight: wall-clock speed depends on data movement, not just FLOPs. Exactness means the same function, not bitwise reproducibility.

## Key quote

> A computational graph is not a memory schedule.

---

## Cite

- Page: https://zeli.app/story/49697046
- Date: 2026-09-14
- Source: chizkidd.github.io (https://chizkidd.github.io//2026/09/13/flashattention/)
- Hacker News: https://news.ycombinator.com/item?id=49697046

## Other languages

- zh: https://zeli.app/zh/story/49697046 · markdown: https://zeli.app/zh/story/49697046.md
