论文多源确认

IndexerStage:把 DeepSeek 稀疏注意力的 Indexer-K 状态分层外置,提升长上下文服务吞吐

IndexerStage: Staging Indexer-K across Memory Tiers for Sparse-Attention LLM Serving

精选理由

做长上下文推理部署的可以看看这篇:它把 DeepSeek 稀疏注意力的 Indexer-K 状态搬到外部存储,在 SGLang 上跑出了比 HiSparse 高 12%–23% 的批次规模和 1.31x 解析吞吐,显存占用每卡不到 0.7 GiB。自己搭推理集群的团队值得评估这套方案。

论文提出 IndexerStage,一个面向长上下文稀疏注意力推理的服务运行时。它针对 DeepSeek Sparse Attention 中 Indexer-K 状态逐层增长、导致 GPU 显存吃紧的问题,把已完成页外置到后端存储层,同时保留原生 GPU 的 score、top-k 与 attention kernel。

正文

技术机制上,IndexerStage 通过共享执行缓冲区分级暂存页数据,新条目留在本地;在接纳新批次前执行显存与传输联合检查,由模型服务 GPU 掌控传输时机和字节预算。由于每次解码只需当前层的 Indexer-K 状态,无需所有层同时驻留,外置不会破坏注意力计算。

实验在 SGLang 上用 16 张模型服务 H800 和 16 张后端 H800 完成。16K–64K 输入下,本地流式存储每张服务 GPU 仅占 0.65–0.70 GiB;相比基于主机内存的 HiSparse,批次规模提升 12.28–23.08%,解码吞吐达 1.08–1.14x,混合长度动态服务场景解码 TPS 达 1.31x。

原文 · arXiv: DeepSeek

IndexerStage: Staging Indexer-K across Memory Tiers for Sparse-Attention LLM Serving

Long-context sparse-attention serving can remain limited by graphics processing unit (GPU) memory after attention data is offloaded. DeepSeek Sparse Attention retains Indexer-K state to select the tokens that attention will read. Its indexer scans this growing state in full at every layer and decode step. A full scan requires the current layer's state, however, not simultaneous residency of every layer. We present IndexerStage, a serving runtime that externalizes Indexer-K state while preserving native GPU score, top-k, and attention kernels. It stages completed pages through shared execution buffers and preserves new entries locally. Joint memory-and-transfer admission checks storage and each layer's transfer demand before accepting a growing batch. The backing tier gathers pages; the model-serving GPU controls transfer timing and byte budgets. We implement IndexerStage in SGLang on 16 model-serving and 16 backing H800 GPUs. Across 16K--64K inputs, local streaming storage occupies 0.65--0.70 GiB per model-serving GPU. Relative to host-memory-backed HiSparse, batch size increases by 12.28--23.08% and decode throughput in tokens per second (TPS) reaches 1.08--1.14x. At 64K with the latent-KV backing path fixed, the larger batch achieves 1.10x decode TPS; enabling streaming at batch size 24 adds 2.42% to time per output token. Mixed-length dynamic serving increases mean generating batch size by 12.07% and delivers 1.31x decode TPS.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心栏目,重点聚焦中国 AI 产业与国产大模型生态。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:DeepSeek、SGLang、稀疏注意力、推理优化,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始信息发布自一手权威信源「arXiv: DeepSeek」(Tier-1 一手发布),具备高确定性参考价值。截至目前,全网已有 4 家独立信源对该事件进行交叉印证与跟进报道(含 Gorden Sun、AIGCLINK、elvis 等),属于近期高关注度行业信号。