RankServe: Rank-Aware CPU-GPU Scheduling for Memory-Constrained MoE Serving
Hengyi Zhu, Zhendong Mi, Pu Zhao, Yanzhi Wang, Hao Wang, Shaoyi Huang
Abstract
Mixture-of-Experts (MoE) models scale model capacity through sparse expert activation, but their large expert pools impose substantial memory requirements during inference. Low-rank compression reduces the memory footprint of Mixture-of-Experts (MoE) models. However, the heterogeneous expert ranks create unequal storage, transfer, and execution costs. Under limited GPU memory, expert popularity and transfer cost alone cannot determine which experts are most valuable to retain. We present RankServe, a CPU-GPU serving system for compressed MoE checkpoints with fixed expert ranks. Its key insight is to value GPU residency against the cheaper nonresident path, CPU execution or weight transfer followed by GPU execution, under each expert's rank and token load. RankServe aggregates the resulting estimated savings over routing demand and prioritizes experts by savings per byte. It updates residency from recent routing history and selects miss paths using current token loads, allowing temporary GPU execution without cache admission. A variable-rank runtime executes heterogeneous factors through grouped matrix multiplications without common-rank padding. Implemented on vLLM, RankServe is evaluated on three MoE models against six serving systems on a single CPU-GPU platform. Across five batch sizes from 1 to 32, it achieves per-model geometric-mean speedups of -- in time to first token (TTFT) and -- in time per output token (TPOT), relative to the fastest baseline for each configuration and metric.
Create a lesson
Related papers
RankCast: Phase-Aware Rank Balancing in MoE Serving
Shared title terminologycs.DCKaidi Fu, Xu-Hao Lu, Pingwei Sun et al.
RePrism: Joint Request and Representation Scheduling for LLM Agent Serving
Shared title terminologycs.DCXijiang Shen, Aoli Zhu, Yanbo Tan et al.
CGSpec: Consistency-Guided Speculative Decoding with Overlap-Aware Verification Scheduling for Edge-Cloud Inference
Shared title terminologycs.DCYuanbing Ouyang, Xiaoli Liu, Shirong Wei et al.
IndexerStage: Staging Indexer-K across Memory Tiers for Sparse-Attention LLM Serving
Shared title terminologycs.DCXin Zhang, Weifeng Zhang, Xianyan Xie et al.
Locality-Aware Scheduling for Stream Processing Applications in Serverless Environments
Shared title terminologycs.DCTianyu Qi, Maria A. Rodriguez, Rajkumar Buyya
XM-Sparse: High-Throughput Sparse-Attention LLM Serving over Scale-up Memory Pools
Shared title terminologycs.DCYijun Sun, Xudong Liao, Zhuobin Huang et al.