Online Softmax: Exact Results in a Single Pass

Online Softmax computes attention probabilities incrementally by updating running maximum and normalization terms for each block, crucially avoiding the need to materialize the entire attention matrix and delivering mathematically identical results to traditional softmax.

Sources

Open the full topic