TL;DR
LLM-Emu is a lightweight, serving-native emulator for LLM inference that accurately mimics real system behavior using profile-driven sampling, enabling cost-effective online evaluation.
Contribution
It introduces LLM-Emu, a novel emulator that preserves production paths while replacing GPU execution with sampled latency, facilitating practical online experimentation.
Findings
LLM-Emu closely tracks real vLLM serving behavior with errors within 5.3%.
It maintains throughput within 1.9% of real systems across diverse workloads.
The emulator is open sourced at https://github.com/AKafakA/llm-emu.
Abstract
Realistic evaluation of LLM serving systems requires online workloads, dynamic arrivals, queueing, and the serving engine's local scheduling for execution batching, but running such experiments on GPUs is expensive. Existing simulators reduce this cost, but often operate offline or in time-warped mode, re-implement serving-engine schedulers, or require accurate operator/kernel-level latency models. We present LLM-Emu, a serving-native emulator for vLLM that preserves the production HTTP, scheduling, KV-cache, and output-processing paths while replacing only GPU forward execution with profile-sampled latency and synthetic output tokens. Tested on two different GPUs, four model variants, two model families, two attention backends, and both Poisson and bursty ShareGPT workloads, LLM-Emu closely tracks real vLLM serving behavior: TPOT and ITL stay within absolute error, E2E latency…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
