SSD-LLaMA: SSD-Native Inference for Trillion-Parameter MoE at 1+ Token/s on a Consumer PC
Fangzhou Liang, Yibin Shen, Jianmin Hu, Jiayang Xu, Hanchi Gao, Minxian Xu, Zili Meng
Abstract
Frontier open-weight language models increasingly use Mixture-of-Experts (MoE) architectures to expand model capacity while activating only a small subset of experts per token. Local inference must nevertheless keep the complete expert pool available, which remains far beyond consumer-grade RAM and VRAM capacity even after quantization. SSDs provide practical capacity at this scale, but turning that capacity into executable model memory requires efficient expert delivery, coordinated management of SSD, RAM, and VRAM, and CPU--GPU hybrid execution under bounded bandwidth. We present \textit{SSD-LLaMA}, an SSD-native local MoE inference system that addresses these challenges with an SSD I/O pipeline optimized for expert delivery, a native three-tier storage hierarchy that delivers and retains experts dynamically, and balanced CPU--GPU hybrid execution. \textit{SSD-LLaMA} executes every selected expert without pruning or substitution. Across three frontier MoE model families, \textit{SSD-LLaMA} improves prefill token rate by 1.52--4.19 and decode token rate by 2.10--15.58 over the evaluated baselines. We also achieve higher than 1 token/s for running trillion-parameter model with a single RTX 5090 and no more than 32GB RAM.
Create a lesson
Related papers
Generalized Tensor Parallelism: Powering Trillion-Parameter LLM Training at 10+ EFLOP/s
Shared title terminologycs.DCShiqing Fan, Deepak Narayanan, Jimmy Zhang et al.
A Kubernetes-Native Request Router for Quality-Aware Inference Serving in the Computing Continuum
Shared title terminologycs.DCIgnjat Karanovic, Pantelis A. Frangoudis, Ivan Čilić et al.
Half a Bit per Parameter: How Much Optimizer State Does Training Need to Survive a Failed GPU?
Shared title terminologycs.DCZiyang Lin, Zixuan Sun
Activation-Aware Balancing of Fused CPU and GPU Expert Execution for Offline MoE Inference
Shared title terminologycs.DCBorui Xu, Weihao Cui, Yao Chen et al.
CAIEC: Co-Accelerating Inference and Entropy Coding for Learning-Based Scientific Data Compression
Shared title terminologycs.DCWenjing Huang, Yuhan Chen, Bing Lu et al.
GPUFREELINSCALELLM: Architecting Memory Hierarchy for Scalable LLM Inference on SIMD Multicores
Shared title terminologycs.DCMadhumitha Basetti, Vishva Ranjan Singh, Devashree Tripathy et al.