MoE-Gen: High-Throughput MoE Inference on a Single GPU with Module-Based Batching

Tairan Xu, Leyang Xue, Zhan Lu, Adrian Jackson, Luo Mai
3/12/2025
cs.DCcs.LG
moe

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

This paper presents MoE-Gen, a high-throughput MoE inference system optimized for single-GPU execution. Existing inference systems rely on model-based or continuous batching strategies, originally designed for interactive inference, which result in excessively small batches for MoE's key modules-attention and expert modules-leading to poor throughput. To address this, we introduce module-based batching, which accumulates tokens in host memory and dynamically launches large batches on GPUs to maximize utilization. Additionally, we optimize the choice of batch sizes for each module in an MoE to fully overlap GPU computation and communication, maximizing throughput. Evaluation demonstrates that MoE-Gen achieves 8-31x higher throughput compared to state-of-the-art systems employing model-based batching (FlexGen, MoE-Lightning, DeepSpeed), and offers even greater throughput improvements over continuous batching systems (e.g., vLLM and Ollama) on popular MoE models (DeepSeek and Mixtral) across offline inference tasks. MoE-Gen's source code is publicly available at https://github.com/EfficientMoE/MoE-Gen

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2025moegen,
  title  = {MoE-Gen: High-Throughput MoE Inference on a Single GPU with Module-Based Batching},
  author = {Tairan Xu and Leyang Xue and Zhan Lu and Adrian Jackson and Luo Mai},
  year   = {2025},
  eprint = {2503.09716},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.09716v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.09716.svg)](https://codeofpaper.com/paper/2503.09716)

Discussion