Rescale The Running Max
In FlashAttention's online-softmax tiling over K/V blocks, when a new tile produces a local max m_new that exceeds the running max m_old, the existing accumulator O and running denominator l must be corrected by multiplying both by:
Sign in to answer questions and track your progress
Sign In