跳到正文
arXiv (Robotics + Hardware + Signal)· Kangbo Bai, Zhonghua Mu, Hongze Zhou, Tianyu Jia·· 4 小时前AI 评分45

L2C2:面向Agent长上下文LLM推理的大规模Chiplet稀疏分布式注意力系统优化

L2C2: Enhancing Large-scale Chiplets for Agent Long-Context LLM Inference with Sparse and Distributed Attention

AI 导读

L2C2针对大规模Chiplet上部署稀疏注意力(SpAt)的长上下文推理,提出Split-Comm Attention机制,利用Chiplet高带宽互连以通信开销换取内存访问减少,并与Ring Attention组合成适配不同输入序列长度的Bi-Mode方法。

正文 · 原文

arXiv:2611.33691v1 Announce Type: new Abstract: Long-context inference is a rising demand for LLMs, especially for agent applications. Sparse attention (SpAt) and chiplet technology are promising solutions to reduce computations and scale hardware performance. However, deploying SpAt on distributed chiplets necessitates context parallelism for workload partitioning, introducing complex distributed attention. In this work, we present L2C2, a system optimization for distributed SpAt in long-context inference. During the partial-prefill stage, we propose a novel Split-Comm Attention mechanism that leverages the high-bandwidth interconnect of chiplets to trade communication overhead for reduced memory access. We combine it with conventional Ring Attention to form a Bi-Mode method that adapts to varying input sequence lengths. During the decoding stage, we analyze the cause of memory access imbalance and address it by static interleaved token assignment. Dynamic agile cache balancing is also proposed to adapt to SpAt skewness. Evaluations show our optimization can achieve 1.45$\times$ and 1.53$\times$ speedup in partial-prefill and decoding with SpAt on large-scale chiplets.

来源:arXiv (Robotics + Hardware + Signal) · arxiv.org