~/talk

Case Study: How Does DeepSeek's FlashMLA Speed Up Inference

slides:none on file

DeepSeek’s FlashMLA combines an algorithmic compression — Multi-Head Latent Attention that replaces KV caches with a small latent representation (about 50x smaller KV cache in their numbers) — with GPU-aware execution that tiles memory like FlashAttention and overlaps tensor-core matrix multiplies, CUDA work, and loads using a two-warp seesaw schedule. On Hopper-class cards (H800/H100) this hits roughly 80% flop utilization and reports 3–4× faster inference versus naive attention; implementation is validated and comparable to FlashAttention v3.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 0:25Recap of attention in transformers
  3. 1:29Bottlenecks in attention computation
  4. 4:15KV caching and memory trade-offs
  5. 6:22Latent attention and MLA concept
  6. 9:15Hardware-aware algorithm design
  7. 12:47Flash attention and memory hierarchy
  8. 16:55Need for FlashMLA on Hopper GPUs
  9. 19:44Tensor cores and their advantages
  10. 21:29FlashMLA’s seesaw scheduling
  11. 23:55Summary of optimizations
  12. 24:40Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.