Revati: Transparent GPU-Free Time-Warp Emulation for LLM Serving
Amey Agrawal, Mayank Yadav, Sukrit Kumar, Anirudha Agrawal, Garv Ghai, Souradeep Bera, Elton Pinto, Sirish Gambhira, Mohammad Adain, Kasra Sohrab, Chus Antonanzas, Alexey Tumanov
TL;DR
This work addresses the prohibitive cost and slow iteration cycles of tuning large-language-model serving configurations by introducing Revati, a time-warp emulator that runs unmodified serving code at simulation-like speed. It combines transparent CUDA API interception (Device Emulation Layer) with a barrier-based Timekeeper to advance virtual time across distributed processes, preserving causality while skipping GPU waits. Revati achieves end-to-end prediction accuracy below $<$5\% and delivers 5–17× speedups over real GPU execution on vLLM and SGLang across multiple models and configurations, significantly accelerating deployment experimentation. The approach reduces maintenance overhead compared to traditional discrete-event simulators and enables scalable exploration of deployment strategies without requiring hardware-scale GPUs.
Abstract
Deploying LLMs efficiently requires testing hundreds of serving configurations, but evaluating each one on a GPU cluster takes hours and costs thousands of dollars. Discrete-event simulators are faster and cheaper, but they require re-implementing the serving system's control logic -- a burden that compounds as frameworks evolve. We present Revati, a time-warp emulator that enables performance modeling by directly executing real serving system code at simulation-like speed. The system intercepts CUDA API calls to virtualize device management, allowing serving frameworks to run without physical GPUs. Instead of executing GPU kernels, it performs time jumps -- fast-forwarding virtual time by predicted kernel durations. We propose a coordination protocol that synchronizes these jumps across distributed processes while preserving causality. On vLLM and SGLang, Revati achieves less than 5% prediction error across multiple models and parallelism configurations, while running 5-17x faster than real GPU execution.
