Metraipolis › archive › dc_b8da92dc05c1
Physically Partitioned KVCache Format for CPU--GPU Load Balancing in MoE Inference — arXiv:2609.14507
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.14507
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-15T23:17:37.982Z
- SHA-256 of the archived text
10b10d88e047021784909143e9b4970cc05549a45ebc53088c87cf56886f7ffe- Stable URL of this page
https://metraipolis.com/documento/dc_b8da92dc05c1
How to cite
Physically Partitioned KVCache Format for CPU--GPU Load Balancing in MoE Inference — arXiv:2609.14507 — arXiv (en), https://arxiv.org/abs/2609.14507 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b8da92dc05c1 (Metraipolis archive dc_b8da92dc05c1, sha256 10b10d88e047021784909143e9b4970cc05549a45ebc53088c87cf56886f7ffe)
BibTeX
@misc{dcb8da92dc05c1,
title = {Physically Partitioned KVCache Format for CPU--GPU Load Balancing in MoE Inference — arXiv:2609.14507},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.14507},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b8da92dc05c1; sha256 10b10d88e047021784909143e9b4970cc05549a45ebc53088c87cf56886f7ffe},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.14507. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Single-GPU long-context inference with Mixture-of-Experts (MoE) models requires spilling the key-value cache (KVCache) to CPU memory. The spilled KV serves two complementary purposes---transferring to the GPU for attention computation, or computing in-place on the CPU---which demand opposing physical states. The optimal split between them varies with workload, yet existing KVCache abstractions offer only storage semantics over a monolithic object of a single physical state, and cannot express dynamic load balancing. We propose InplaceKVCache, the first KVCache abstraction whose format fixes each byte's physical residency at write time, so that the CPU--GPU load balance can be adjusted without moving data after placement. It realizes this as a four-region layout along two dimensions---device affinity and access pattern---turning load balancing into pure scheduling. Built on this abstraction, WriteScope splits CPU--GPU shares along the sequence dimension, and a portable roofline performance model determines the optimal CPU share as sequence length evolves, with online feedback tracking CPU cost drift. On three MoE models (DeepSeek-V2-Lite, Qwen3-30B-A3B, Mixtral-8$\times$7B) with a 32~GB VRAM budget, WriteScope supports end-to-end inference at the 1M-token aggregate scale. In the long-context regime ($\ge$8K), it achieves geometric-mean speedups of $1.5\times$--$2.5\times$ on A100 and $1.4\times$--$1.7\times$ on V100 over four reproduced baselines, while vLLM, SGLang, and KTransformers fail even with a doubled KV budget. A DeepSeek-V4-Flash case study validates composition with native sparse attention. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-15 in cs.DC). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2609.14507 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-15T22:54:12.974Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-15?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).