Ring Attention with Blockwise Transformers for Near-Infinite Context
arXiv: 2302.14045
领域
TLDR(中文)
把超长上下文切成 block 分布到多台设备上做分块注意力:每卡只保存自己那段 KV block,block 沿设备环逐个轮转复用,通信与计算重叠进行。在集群显存总和允许的范围内上下文长度可近乎无限扩展,是上下文并行(context parallelism)的奠基工作。
TLDR (English)
Distributes an ultra-long context as blocks across devices for blockwise attention: each device keeps only its own KV block while blocks circulate around a ring of devices for reuse, overlapping communication with compute. Context length can scale to near-infinity bounded by the sum of cluster memory, founding the context-parallelism line of work.
出现在这些文章里
同被引用
这些论文与本文出现在同一篇文章中
相关论文
同一领域的其他论文