Skip to content
English

Switch theme

// ◎ Transformers & Attention

Ring Attention

Shards very long sequences across devices, passing K/V around a ring.

环形注意力 Ring Attention 2023 Research frontier core

IN PLAIN WORDS

Each device holds a chunk and computes attention with local K/V while passing K/V to the next device, overlapping communication. Context scales with device count — a form of context parallelism.

Used in: Million-token context training

TIMELINE · prerequisites → this → what builds on it

2022 FlashAttentio…2023 Ring Attention

01Original paper

Ring Attention with Blockwise Transformers for Near-Infinite Context

Hao Liu, Matei Zaharia, Pieter Abbeel · 2023

arXiv ↗ ✓ Verified · arXiv API

02Where it sits

Learn the left column first; the right column builds on this one.

Learn first

Ring Attention

Then you can learn

  • Nothing in the atlas builds on it yet

Related:YaRN (Context Window Extension)Tensor Parallelism (Megatron-LM)

FlashAttention …YaRN (Context W…Tensor Parallel… Ring Attention

Left: prerequisites · right: builds on this · dashed: related. Full map →

03Learning resources

Official docs, explainers, courses and reference code. All links checked.

04Where the course teaches it

For AI / data

Data updated: AI algorithms & curriculum(UTC+8)