IndexServe 将稀疏注意力索引器拆分为独立服务,吞吐最高提升 10.35 倍
IndexServe: Disaggregating the Indexer as a Service for Efficient Sparse-Attention LLM Serving
长上下文推理一直是显存瓶颈,这篇思路很清脆:索引打分不需要模型权重,就把它整个挪出去做共享服务。在 Ascend A3 上跑 DeepSeek-V3.2 和 GLM-5.1,吞吐比 vLLM、SGLang、ECHO 高 2.46 到 10.35 倍。做推理服务的工程师值得一试。
论文提出 IndexServe,把稀疏注意力 LLM 推理中的索引器(indexer)从原推理引擎中拆分出来,作为独立服务运行。核心问题是索引状态占用 HBM 显存随序列长度线性增长,长上下文场景下低并发就会耗尽显存,限制批大小和吞吐。
关键洞察是索引选择不依赖模型权重,因此可以由独立的索引服务在多个推理实例间池化索引显存与计算。系统通过设备间直连通信和图兼容运行时降低远程选择开销,并引入 PagedIndex 和长度感知动态调度来管理动态增长的索引,从而把推理引擎 HBM 中最后一个随上下文增长的状态移除。
在 Ascend A3 上搭配 DeepSeek-V3.2 与 GLM-5.1 评测,IndexServe 峰值输出吞吐达到 vLLM、SGLang 和 ECHO 的 2.46 至 10.35 倍。
IndexServe: Disaggregating the Indexer as a Service for Efficient Sparse-Attention LLM Serving
Sparse attention reduces attention computation by attending to only a small subset of historical tokens. However, the indexer introduced to score all historical tokens still requires HBM storage that grows linearly with sequence length. In long-context serving scenarios, we find that the index state's growing memory demand exhausts HBM at low request concurrency, limiting the batch sizes and leading to low serving throughput. We present IndexServe, an indexer-as-a-service system that disaggregates the indexer's HBM storage and selection computation from its original serving engine. Our key insight is that index selection requires no model weights, allowing a separate index service to pool index memory and computation across multiple inference instances. Disaggregating the indexer is challenging because remote selection lies on the critical path of every sparse-attention layer, while the shared service must handle dynamically growing indexes of varying lengths. To tackle these challenges, IndexServe leverages direct device-to-device communication and builds a graph-compatible runtime to minimize remote selection overhead, while introducing PagedIndex and length-aware dynamic scheduling to enable efficient index allocation and scheduling across the shared service. As a result, IndexServe removes the last context-growing state from the serving engine's HBM, enabling larger batches and higher throughput. Evaluated on Ascend A3 with DeepSeek-V3.2 and GLM-5.1, IndexServe's peak output throughput is 2.46-10.35 times that of vLLM, SGLang, and ECHO.
本条情报归属 AITOP「论文」核心栏目,重点聚焦中国 AI 产业与国产大模型生态。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:IndexServe、DeepSeek-V3.2、GLM-5.1、稀疏注意力,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始信息发布自一手权威信源「arXiv: DeepSeek」(Tier-1 一手发布),具备高确定性参考价值。