Efficient CPU-GPU collaborative MoE inference via Adaptive Expert Assignment
Abstract
Mixture-of-Experts (MoE) models reduce inference computation through sparse expert activation, but their large expert memory footprint often exceeds GPU capacity, making expert offloading necessary for memory-constrained inference. However, existing systems typically handle GPU-missed experts by either transferring them to the GPU, incurring substantial PCIe transfer latency, or executing them on the CPU, making the slower CPU computation the bottleneck. To address these limitations, we present , a CPU-GPU collaborative MoE inference system that adaptively assigns these missed experts to the CPU or GPU for efficient execution. By exploiting differences in expert token-loads, selectively transfers high-load experts to the GPU while executing low-load experts on the CPU. To minimize inference latency, adaptively adjusts expert assignments to balance the CPU computation path against the GPU transfer-and-computation path, allowing both execution paths to complete as early as possible. Extensive experiments on three representative MoE LLMs show that improves prefill speed by up to 51.9\% and decode throughput by up to 39.5\% over the strongest baseline across the evaluated batch sizes, with consistent gains under different GPU-memory budgets.
Create a lesson
Metadata
- Comments
- 13 pages, 7 figures
Related papers
Spectral Adaptive Graph Transformer for Efficient and Scalable Traffic Forecasting
Shared title terminologycs.AIAmirhossein Ghaffari, Susanna Pirttikangas, Ekaterina Gilman
ScoutRoute: Efficient Mixture-of-Experts Routing Using Internal Language Model Signals
Shared title terminologycs.AIRajdeep Pandhare, Delzaan Bharucha
ToPA: Block-wise Toeplitz Adaptation for Expressive and Efficient Fine-Tuning
Shared title terminologycs.AISicong Li, Qianqian Xu, Zhiyong Yang et al.
SAE-Audit: Clinical-Trial Prediction via Inference-Time Optimization of Black-Box LLMs Audited by Sparse Autoencoder Evidence
Shared title terminologycs.AIJunbo Shen
MetaSkill: Reusable Problem-Solving Methods for Adaptive Skill Orchestration in LLM Agents
Shared title terminologycs.AITianxing Wang, Mingming Zhao, Shuai Huang et al.
EA-Bench: Measuring information and action efficiency under imperfect instructions
Shared title terminologycs.AIXu Wan, Wenyue Xu, Shenjie Zhao