Softmax on a Rotating Ring
Ring Attention partitions a long sequence's Q/K/V blocks across devices arranged in a logical ring; each device holds a fixed Q block while K/V blocks are rotated peer-to-peer around the ring, overlapping the transfer of the next block with attention compute on the current block. Since each device only ever sees one K/V block at a time and never materializes the full attention matrix, what technique does it rely on to still produce the mathematically exact (not approximated or sparsified) full-sequence attention output?
Sign in to answer questions and track your progress
Sign In