casys-kaist/llmservingsim
LLMServingSim 2.0: A Unified Simulator for Heterogeneous and Disaggregated LLM Serving Infrastructure
What it solves
LLMServingSim addresses the difficulty of evaluating large-scale LLM infrastructure by providing a way to simulate how different hardware and software configurations perform without needing massive physical GPU clusters. It allows researchers and engineers to predict system behavior, latency, and throughput for complex serving setups.
How it works
The simulator combines a Python frontend that mimics the vLLM continuous-batching scheduler with a C++ analytical network backend. It uses per-hardware latency profiles captured from real-world benchmarks to simulate various parallelization strategies (such as tensor, pipeline, expert, and data parallelism) across diverse hardware and memory configurations.
Who it’s for
It is designed for researchers and systems engineers working on LLM inference infrastructure who need to model heterogeneous hardware, disaggregated memory, or advanced serving techniques like speculative decoding and MoE routing.
Highlights
- Cycle-level simulation for accurate performance modeling of LLM serving infrastructure.
- Supports a wide range of parallelism techniques including TP, PP, EP, and DP.
- Validated against real-world hardware benchmarks, including high-accuracy profiles for GPUs like the RTX 4090.
- Capable of modeling diverse model architectures, including dense, MoE, and hybrid linear-attention models.
- Provides a unified environment for testing disaggregated memory tiers like CPU, CXL, and PIM.
Related
- Project
- Project
- Project
- Project