Manuscript Offprint

arXiv:2611.26619

TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming

Jinbin Luo, Xiaozhe Yao, Shang Yang, Zhijian Liu, Song Han, Qinghao Hu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

marginparsep has been altered. topmargin has been altered. marginparwidth has been altered. marginparpush has been altered.

The page layout violates the ICML style.

Please do not change the page layout, or include packages like geometry, savetrees, or fullpage, which change it for you.

We’re not able to reliably undo arbitrary changes to the style. Please remove the offending package(s), or layout-changing commands and try again.

TideCache: Efficient Hybrid LLM Serving with Transparent Cache Management and Layer-Wise Streaming

Jinbin Luo 1 Xiaozhe Yao 2 Shang Yang 1 Zhijian Liu 3 Song Han 1 Qinghao Hu 1

1Massachusetts Institute of Technology 2ETH Zurich 3University of California, San Diego

Abstract

Hybrid architectures have become mainstream among open-weight language models. Their global-attention and bounded-state layers maintain heterogeneous caches whose demands vary with context length and concurrency. We present TideCache, a serving system on CPU–GPU superchips with three components for allocating GPU memory among caches and managing their residency across GPU and host memory. The Transparent Cache Pool redistributes physical pages among cache components behind fixed virtual addresses, preserving cache layouts and backend interfaces. The Cache Streamer uses computation intervals provided by bounded-state layers to prefetch the next global-attention layer’s prefix into GPU slots shared across global-attention layers, reducing GPU residency while overlapping layer-wise transfers with computation. Generated KV remains resident. The Request Scheduler selects resident or streamed execution and triggers capacity adjustments according to request size and queue state. Together, they let HBM released by streaming accommodate other cache components and additional requests. Implemented in SGLang and evaluated on GB300 and GH200 across seven model/platform configurations, TideCache completes up to 2.04×\times as many agent turns, reduces overall P50 per-token latency by 20–59%, and improves agent P50 TTFT by 1.40–3.05×\times compared with SGLang with HiCache.

1 Introduction

Figure

(a) Sharing capacity across cache components.

(b) Utilizing idle CPU–GPU bandwidth during decode.

Figure 1: Two opportunities for efficient hybrid-model serving: sharing cache capacity and exploiting idle decode-time bandwidth.

Hybrid architectures have become mainstream among open-weight language models. Kimi K3 Kimi Team (2026), Ring-2.6 Li et al. (2026), GLM-5.3-Flash Z.ai (2026), Qwen3.8 Qwen Team (2026) and GPT-OSS OpenAI (2025) keep a global-attention layer only once every few layers and fill the rest with sliding-window attention or recurrent layers such as Mamba, Gated DeltaNet and Kimi Delta Attention Gu and Dao (2024); Yang et al. (2025); Kimi Team (2025). We refer to the latter as bounded-state layers, since their cache memory per request is bounded independently of context length. These models serve everyday chat, coding agents, document analysis and automated data labeling. Such applications differ in context reuse, interaction structure, arrival patterns and concurrency Lin et al. (2024); Xiang et al. (2026). A coding agent accumulates tool outputs across turns, document analysis retains reference material, and chat or labeling services may process many independent requests. These behaviors create different demands on global-attention KV, window caches and recurrent states; no application label alone determines which component limits serving capacity.

CPU–GPU superchips offer a larger memory hierarchy for these workloads by coupling GPU memory with host memory through high-bandwidth interconnects. The bandwidth of this link has grown by an order of magnitude in five years (Table 1): from 64 GB/s over PCIe 4.0 on A100 to 900 GB/s over NVLink-C2C on Grace Hopper, and 1.8 TB/s on Vera Rubin Evans et al. (2022); Aubrey and Stam (2025); Aubrey (2026). This allows GPUs to access host-resident data through both direct memory accesses and explicit transfers. Host memory thus provides an additional tier for the different cache components maintained by hybrid models.

Figure 2: Illustration of a typical hybrid LLM architecture. Global-attention layers (full, DSA or QSA Qiu et al. (2026)) hold a global-KV that grows with the context; bounded-state layers (sliding window, GDN, KDA) hold a window KV or recurrent state of fixed size per request. All cache components share GPU memory.

Existing systems improve hybrid models’ memory utilization through cache allocation Zheng et al. (2024); Kwon et al. (2023). Static partitioning reserves a fixed budget for each component and can leave one pool underused while another runs out of space (Figure 1a). Dynamic sharing schemes, such as SGLang’s Unified Memory Pool and vLLM’s Hybrid KV Cache Manager, reduce this imbalance SGLang Team (2026); vLLM Team (2026). However, sharing an arena across cache layouts can require changes to indexing and memory access, complicating integration with attention backends and other serving features.

A complementary line of work uses offloading to reduce GPU memory residency. HiCache Xie (2025) preserves reusable contexts in a hierarchical cache and restores them for later execution, reducing repeated prefill computation. However, restored prefixes remain GPU-resident during subsequent decoding. HiSparse Xie et al. (2026) reduces active requests’ GPU footprint by fetching selected KV entries during decode, but is specialized for sparse attention. General offloading systems such as FlexGen and Pie Sheng et al. (2023); Xu et al. (2024) support larger inference batches through tensor placement and transfer scheduling, but do not leverage the cache access patterns of hybrid models.

To this end, we present TideCache, a hybrid-model serving system with three components: the Transparent Cache Pool, a Cache Streamer, and a Request Scheduler. Our key observation is that bounded-state layers create intervals of computation during which the historical KV of the next global-attention layer is not yet needed. The Cache Streamer exploits idle CPU–GPU bandwidth during decode to prefetch host-resident prefixes into GPU slots shared across global-attention layers (Figure 1b). Overlapping these transfers with computation expands effective global-KV capacity: requests with reusable host-resident prefixes shrink their GPU footprint, while newly generated KV stays resident. To make the released capacity available to other cache components, the Transparent Cache Pool redistributes physical pages behind the reserved virtual addresses of the hybrid subpools. The Transparent Cache Pool transparently supports existing cache layouts and attention backend interfaces, without requiring changes to either. The two memory mechanisms work together: layer-wise KV streaming frees HBM that can hold window caches and recurrent states for additional requests, and a larger decode batch provides more computation with which to overlap subsequent transfers. The Request Scheduler coordinates these mechanisms, selecting resident or streamed execution and triggering subpool capacity adjustments according to request and queue conditions.

We implement TideCache in SGLang and evaluate seven model/platform configurations on GB300 and GH200 superchips without model-specific kernel changes. Across mixtures of Chat and Coding Agent traffic, TideCache completes up to 2.04×\times as many agent turns, reduces overall P50 per-token latency by 20–59%, and improves agent P50 TTFT by 1.40–3.05×\times compared with SGLang with HiCache. The Transparent Cache Pool achieves 96.3–113.6% of the turns of the better of two hand-tuned partitions at each fixed load; under a shifting workload on GH200, the full system completes 59% more agent turns and reduces agent P50 TTFT by 78% relative to SGLang with HiCache. At equal batch size, the system adds at most 6.3% to decode-step latency.

This paper makes three contributions:

  • We identify idle partition capacity and idle decode-time CPU–GPU bandwidth as two opportunities in hybrid serving.
  • We design the Transparent Cache Pool, the Cache Streamer and the Request Scheduler, and build them behind fixed virtual addresses in SGLang.
  • We evaluate seven model/platform configurations on two superchip platforms across varying workloads.

References (26)

  • The Chip Powering the AI Factory Era
  • Note: NVIDIA Technical BlogPublished January 5, 2026
  • Note: NVIDIA Technical BlogPublished November 10, 2022
  • linear-time sequence modeling with selective state spaces
  • one tree for hybrid model prefix caching
  • External Links: 2510.26692, Link Cited by: §1
  • External Links: 2309.06180, Link Cited by: §1, Table 2
  • efficient generative inference of large language models with dynamic KV cache management
  • efficient serving of LLM-based applications with semantic variable
  • attention with bounded-memory control
  • dynamic memory management for serving LLMs without PagedAttention
  • evaluation, efficiency, and training stability
  • External Links: Link Cited by: §1
  • Note: Hugging Face datasetJune 21, 2026 release External Links: Link Cited by: §5.1
  • high-throughput generative inference of large language models with a single gpu
  • optimizing for real-world agentic serving
  • workload characterization and generation of large language model serving in production
  • scaling sparse-attention decoding with hierarchical KV cache management
  • pooling CPU memory for LLM inference
  • improving Mamba2 with delta rule
  • SLO-aware rotary scheduling and memory management for LLM inference on superchips
  • unleashing GPU sharing for cost-efficient multi-LLM serving
  • effective memory management for serving LLM with heterogeneity
  • 1.9$\times$ as many prefixes retained, 37.9% less time for returning requests
  • efficient execution of structured language model programs
  • Codex also assisted in writing and modifying plotting and data-analysis scripts, inspecting recorded experimental results, and checking consistency between figures and reported metrics