arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.00397cs.DCcs.LG
收藏

Revati:面向LLM服务的透明GPU-free时间扭曲仿真

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

AI总结:

Revati通过时间跳跃技术实现GPU-free的LLM服务性能仿真,比实际GPU执行快5-17倍,预测误差低于5%。

摘要:

在LLM部署效率方面,需要测试数百种服务配置,但每次在GPU集群上评估都需要数小时甚至数千美元。离散事件仿真器更快更便宜,但需要重新实现服务系统的控制逻辑——随着框架的发展,这种负担会加剧。我们提出了Revati,一种时间扭曲仿真器,通过直接执行真实的服务器系统代码,在仿真速度下进行性能建模。该系统拦截CUDA API调用以虚拟化设备管理,使服务框架能够在没有物理GPU的情况下运行。而不是执行GPU内核,它执行时间跳跃——通过预测的内核持续时间快速推进虚拟时间。我们提出了一种协调协议,在分布式进程中同步这些跳跃,同时保持因果关系。在vLLM和SGLang上,Revati在多种模型和并行配置下预测误差低于5%,同时比实际GPU执行快5-17倍。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑