arXiv:2606.10493cs.DCcs.AI2026-06中稿 · the 20th USENIX Sy…

用CPU-GPU混合设计让本地运行大模型达到云端服务质量。

Achieving Cloud-Grade SLOs for Local Mixture-of-Experts Inference through CPU-GPU Hybrid Design

论文配图:Achieving Cloud-Grade SLOs for Local Mixture-of-Experts Inference through CPU-GPU Hybrid Design
图 1 · 摘自论文原文
  • 通过流式加载预填充,30秒内处理32K提示,吞吐达1200词/秒。
  • 多卡分布式流式加载,45K提示在30秒内完成,速度达1800词/秒。
  • 支持高并发和原精度推理,适合追求高质量本地部署的开发者。

本地部署大型混合专家(MoE)模型在服务品质上仍远低于云环境,即使在低并发场景下亦然。我们识别出四大关键差距:依赖压缩模型(量化、蒸馏、重路由)、长预填充(超过12K tokens)无法满足30秒首词生成时间(TTFT)要求、解码吞吐低于20词/秒、以及在混合预填充-解码与批处理解码场景下并发能力差。本文提出一种基于CPU-GPU混合架构的系统,通过五项关键技术实现云端服务等级目标:(1) 流式预填充(SLP),使预填充吞吐提升至1,200词/秒,30秒内处理32K提示;(2) 分布式SLP(DSLP)结合SmallEP专家并行,在双张RTX 5090上实现1,800词/秒吞吐,30秒处理45K提示;(3) 节点内预填充-解码解耦,零拷贝共享权重与双批注意力-MoE重叠机制,保持并发性,延迟增加低于15%,吞吐提升50%;(4) 针对AVX-512优化的FP8 GEMV核,实现原生CPU FP8推理,降低4-5倍CPU延迟;(5) 细粒度CPU并行,实现INT4 DeepSeek-V3达28词/秒,完整FP8 V3达21.5词/秒。实验表明,该系统在消费级CPU-GPU平台实现旗舰MoE模型的云端级QoS,支持原精度、高质量、低成本本地部署,无需数据中心基础设施。

原文摘要 · Abstract (English)

Local deployment of large Mixture-of-Experts (MoE) models falls short of the service quality achieved in cloud-scale environments, even under low-concurrency workloads. We identify four key gaps in local MoE inference: reliance on capacity-reduced models (quantized, distilled, rerouted), inability to meet 30-second TTFT for long prefills (more than 12K), sub-baseline decode throughput (under 20 tokens/s), and poor concurrency under mixed prefill-decode and batched decode workloads. We present a CPU-GPU hybrid system that achieves cloud-level SLOs on dual-socket commodity CPUs and consumer GPUs by (1) stream-loading prefill (SLP), boosting prefill throughput to 1,200 tokens/s and enabling 32K prompts within 30 seconds; (2) distributed SLP (DSLP) with SmallEP expert parallelism, reaching 1,800 tokens/s and 45K prompts in 30 seconds on two RTX 5090s; (3) intra-node prefill-decode disaggregation with zero-copy shared weights and a dual-batch attention-MoE overlap scheme, sustaining concurrency with under 15 percent latency increase and 50 percent throughput gains; (4) an AVX-512-optimized FP8 GEMV kernel, enabling native CPU FP8 inference while delivering 4-5x lower CPU latency; and (5) fine-grained CPU parallelism that attains 28 tokens/s on INT4 DeepSeek-V3 and 21.5 tokens/s on intact FP8 V3. Evaluations show our system delivers cloud-level QoS for flagship MoE models on consumer CPU-GPU platforms, reshaping local deployment with intact, original-precision inference and enabling high-quality, cost-effective access without datacenter infrastructure.

MoE模型本地部署高性能推理混合架构

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。