PACER: Accelerating Mixture-of-Experts LLM Inference on High Bandwidth Flash Memory via Resource-Aware Expert Prefetching and Caching
Geraldo F. Oliveira, Ahmet Caner Yüzügüler, Renzo Andri, Arash Tavakkol, Mohammad Sadrosadati, Onur Mutlu, Lukas Cavigelli
Abstract
The weights of frontier mixture-of-experts (MoE) large language models (LLMs) exceed the on-package memory capacity of modern accelerators. High bandwidth flash (HBF) addresses this capacity gap by stacking NAND flash dies in the form factor of high bandwidth memory (HBM). However, the sparse and dynamic expert selection of MoE models limits the performance of a demand-driven HBF controller. One possible solution is to prefetch experts ahead of time, as MoE offloading systems do. Our goal is to increase the decode throughput of MoE LLM inference on an HBF-equipped inference accelerator by efficiently prefetching experts from HBF into HBM. To this end, we propose PACER (Prefetching And Caching of Experts under Read disturb). The key idea of PACER is to make expert prefetching resource-aware, so that a prefetch uses only the HBM bandwidth that the inference accelerator leaves idle, the HBM capacity that the KV cache does not occupy, and the flash reads that storing experts in HBM saves. PACER leverages this key idea in software and in hardware. In software, the PACER runtime manages an HBM expert cache with a hint-protected replacement policy, which protects prefetched experts from eviction until the expert kernels of their layer finish. In hardware, the PACER controller comprises (i) a copy-preserving read unit, which serves demand reads from prefetched experts instead of reading these experts from HBF, (ii) an HBM write throttling engine, which throttles the HBM writes of prefetched experts, and (iii) a lifetime control engine, which limits the flash reads of useless prefetches to the flash reads that storing experts in HBM saves.
Create a lesson
Related papers
HBFWeave: Coordinating DRAM and High Bandwidth Flash for Sparse LLM Inference
Shared title terminologycs.ARTenghao Zhao, Shuzhang Zhong, HongKai Liao et al.
Mayfly: Lifecycle-Aware High-Bandwidth Flash for Recursive Self-Improvement
Shared title terminologycs.ARChunlin Tian, Mingjia Fan, Feng Yu et al.
TAMER: Taming Write Amplification and Wear to Extend High-Bandwidth Flash Lifetime for LLM Serving
Shared title terminologycs.ARYi Sun, Weikai Xu, Shuzhang Zhong et al.
Upright DRAM on Logic: Edge-Connected Memory Cubes for Bandwidth-Bound LLM Inference
Shared title terminologycs.ARYichen Long, Xiaoyu Hao, Hongyang Pan et al.
Resource-Aware VLA-MPC Co-Location for Efficient Embodied AI
Shared title terminologycs.ARZeyu Guo, Hao Lou, Yuhui Hao et al.
Splice-Core: Low-Order-Bit-Splicing GEMM for Highly Energy-Efficient AI Inference Accelerators
Shared title terminologycs.ARPrabhu Vellaisamy, Hsien-Fu Hung, Andrew Kim et al.