跳到正文
arXiv (AI + Vision + Imaging)· Jinbin Luo, Xiaozhe Yao, Shang Yang, Zhijian Liu, Song Han, Qinghao Hu·· 5 天前AI 评分48

TideCache:面向混合架构LLM的透明缓存管理与分层流式服务系统

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

AI 导读

TideCache是一个面向混合架构语言模型的服务系统,通过透明缓存池、缓存流式器和请求调度器在GPU与主机内存间分配和迁移异构缓存。该系统在SGLang中实现,并在GB300和GH200的七种模型与平台配置上评测,相比带HiCache的SGLang最多完成2.04倍的agent轮次,P50每token延迟降低20%至59%,agent P50 TTFT提升1.40至3.05倍。

正文 · 原文

arXiv:2611.26619v1 Announce Type: cross 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.04x as many agent turns, reduces overall P50 per-token latency by 20--59%, and improves agent P50 TTFT by 1.40--3.05x compared with SGLang with HiCache.

来源:arXiv (AI + Vision + Imaging) · arxiv.org