跳到正文
arXiv cs.CL· Susav Shrestha, Brad Settlemyer, Narasimha Reddy·· 10 小时前AI 评分35

Decode Token Parallelism(TKNP):面向可扩展 LLM 解码的内存高效分布式注意力并行方案

Decode Token Parallelism: Memory-Efficient Distributed Attention Parallelism for Scalable LLM Decoding

AI 导读

研究者提出 Decode Token Parallelism(TKNP),一种将权重放置与注意力归属解耦的解码池架构,把单份模型按均衡层块分布到多节点,各节点用本地 KV cache 计算自身请求的注意力,仅当前 token 激活跨网络传输。

正文 · 原文

View PDF HTML (experimental)

Abstract:Serving large language models at high concurrency with long contexts requires KV-cache capacity and attention bandwidth that grow with the decode pool. Existing parallelization strategies trade one against the other: data parallelism replicates model weights, limiting KV capacity; tensor parallelism stops scaling attention at the model's KV-head count and pushes dense collectives across nodes; and decode context parallelism (DCP) recovers capacity by sharding the sequence but adds cross-node aggregation of partial attention results. We observe that during decode, dense layers and attention scale differently: dense layers amortize weight reads across the batch and run efficiently within a single NVLink domain, whereas attention cost grows with every active request's KV cache. We present Decode Token Parallelism (TKNP), a decode-pool architecture that decouples weight placement from attention ownership. TKNP distributes a single model copy across nodes in balanced layer blocks. The active node holding a block executes its projections and MLP for the full batch using intra-node tensor parallelism, while every node computes attention for its own requests against locally resident KV cache. This extends request-local attention across nodes without replicating weights: only current-token activations cross the network, dense all-reduces remain within NVLink, and attention requires no cross-node merging of partial results. Implemented in vLLM and evaluated on Llama 3.1 405B and Nemotron-4 340B on up to 64 H100 GPUs, TKNP improves completion throughput for long-context, high-concurrency workloads by up to 1.7$\times$ over DCP and by up to 2.06$\times$ over data parallelism at matched GPU count.
Comments: 14 pages, 12 figures
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC); Computation and Language (cs.CL); Machine Learning (cs.LG)
Cite as: arXiv:2611.13293 [cs.DC]
  (or arXiv:2611.13293v1 [cs.DC] for this version)
  https://doi.org/10.48550/arXiv.2611.13293

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Susav Shrestha [view email]
[v1] Mon, 9 Nov 2026 22:01:46 UTC (1,749 KB)

来源:arXiv cs.CL · arxiv.org