L2C2: Enhancing Large-scale Chiplets for Agent Long-Context LLM Inference with Sparse and Distributed Attention
Kangbo Bai, Zhonghua Mu, Hongze Zhou, Tianyu Jia
Key points
From the paper's conclusion- We combine it with conventional Ring Attention to form a Bi-Mode method that adapts to varying input sequence lengths.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CISA: Retrofitting Dense Attention Models with Chunk-Indexed Sparse AttentionarXiv · 2026
- TileMix: Tile-Centric Mixed-Precision Attention for LLM Inference AccelerationarXiv · 2026
- TileWeave: Heterogeneous Tiling for Sparse Prefill on Mobile SoCsarXiv · 2026
- SPARTA: A Sparse Ternary LLM Accelerator with Adaptive Attention and Unified Datapath for Long-Context Edge InferencearXiv · 2026
- Scaling LLM Inference via Parallelism: Throughput-Latency Trade-offarXiv · 2026
- MCF: A Memory- and Communication-Aware Co-Designed Framework for Long-Context LLM InferencearXiv · 2026