Video: How Much Softmax Do LLMs Need?
This video walks through the two papers behind my written explainer:
- Approximating Softmax in Pretrained LLMs: Model Sensitivity and Kernel Acceleration: which parts of softmax a frozen pretrained LLM actually depends on, and how that turns into a faster attention kernel in FlashAttention-4.
- Pretraining Transformers with Quantized Softmax in Attention: what changes when a transformer is trained with a coarse, quantized softmax from the start.
Prefer reading? The full written version with interactive figures is at How Much Softmax Do You Need in LLMs?
Enjoy Reading This Article?
Here are some more articles you might like to read next: