FlashOffloading: Low-Latency KV Cache Offloading for Long-Context LLM Serving

Xuan Wang, Zhuanhao Wu, Tingzhu Fang, Xushi Li, Sicheng Zhang +15 more
11/5/2026
cs.AI

Official code: vllm-project/vllm-ascend (3,060 stars, Python, Apache-2.0, last commit 2026-11-09).

Abstract

In large language model (LLM) serving systems, the key-value (KV) cache grows linearly with sequence length and concurrency, so long-context inference easily hits the high-bandwidth memory (HBM) capacity wall and results in low concurrency. Offloading the KV cache to host dynamic random-access memory (DRAM) frees HBM space and raises concurrency, but the additional cache management and host-to-device (H2D) load overhead inflates inference latency, higher concurrency fails to translate into effective throughput.

Show full abstract

We present FlashOffloading, a host-DRAM-centric inference architecture that fully offloads the KV cache in both the prefill and decode phases. FlashOffloading builds rolling HBM cache for prefill, a hot cache for decode, a reverse sparse index with zero extra miss-lookup overhead, and a compute--load overlapped kernel, optimizing KV offloading latency across the entire pipeline and delivering throughput gains under a time-per-output-token (TPOT) service-level objective (SLO). In experiments deploying GLM-5.2 with multi-token prediction (MTP3) speculative decoding on an Ascend910C prefill--decode (PD)-disaggregated platform, FlashOffloading improves prefill throughput by up to 1.38\(\times\) and decode throughput by up to 1.91\(\times\) under a 30 ms TPOT constraint. FlashOffloading is integrated into an open-source serving framework: https://github.com/vllm-project/vllm-ascend/tree/releases/v0.30.0.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Community maintained hardware plugin for vLLM on Huawei Ascend

3,0602,648Python, C++Jan 29, 20253 weeks agoApache-2.0
inferencellmllm-servingllmopsmlops+3 more

Similar Papers

Cite this paper

@article{wang2026flashoffloading,
  title  = {FlashOffloading: Low-Latency KV Cache Offloading for Long-Context LLM Serving},
  author = {Xuan Wang and Zhuanhao Wu and Tingzhu Fang and Xushi Li and Sicheng Zhang and Zhenyu Yang and Feng Liu and Zhaohui Fan and Qiang Xie and Huayi Zou and Yuncong Liu and Zeyu Song and Ke Zhu and Yanjia Zeng and Jingchun Gao and Yan Shi and Kui Luo and Gezi Li and Liangjun Feng and Cheng Li},
  year   = {2026},
  eprint = {2611.07542},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.07542v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.07542.svg)](https://codeofpaper.com/paper/2611.07542)

Discussion