A one-line vLLM scheduler edit can wait minutes for weights, tuned kernels and CUDA graphs to return. Hao AI Lab asks two questions: which state did the edit actually invalidate, and how large a test is needed to decide whether to keep investigating? Both changes contribute to the reported 95× improvement in one check.
Where the 228 seconds go
On one GB200 with Nemotron 3.5 Super, kernel tuning took about 73 seconds, weight loading 57, graph capture 40, and process, device and communication setup 30. The test suite took about 28 seconds. Of the 228 seconds spent checking a scheduler edit, roughly 200 rebuilt state the edit never touched. In a replay of a six-hour optimization trace, generating code 30 times faster shortened the loop by only about 6%. Evaluation wait dominated.
The left compares a cold restart with a targeted warm check. The right compares time to the same optimization target.
Reloading the smallest affected part of the execution path
RSIBox retains weights, KV pools and communication groups in a live sandbox. A function edit can replace an implementation in running workers. A Triton change or a captured graph requires more: swapping a Python reference leaves the old compiled program running. The affected compiled artifact must be invalidated and the relevant graph rebuilt. Across GPUs, ranks must switch together so a check corresponds to one program version. Changes to distributed topology or incompatible startup state fall back to a restart before live state is mutated.
The authors classified 487 representative vLLM pull requests and audited execution paths in performance changes to estimate how much work falls inside these boundaries. That history informed the design. Each patch still needs its actual dependencies checked.
Undoing a failed trial
A bad experiment must leave the next one a clean starting point. Reversible edits can restore the previous implementation. After a process failure, snapshots and externally retained GPU state shorten recovery. Training probes also restore mutable training state so candidates start from comparable conditions. In tests on four TP4 models on B200, RSIBox combined with NVIDIA Dynamo recovery. A function swap, a process recovery taking seconds and a cold start taking minutes describe different paths.
From a cheaper check to an earlier optimization
A warm engine first runs a small targeted batch so obvious regressions exit early. The headline 2.4 seconds includes this reduction in test scope. Adding a separate log-probability check took 4.8 seconds. Final candidates were verified from cold starts with RSIBox disabled. In one six-hour vLLM comparison the agent reached the same optimization target 2.3 times sooner. That experiment measures what the shorter feedback cycle bought: more candidate trials before the deadline, with the result judged outside the warm sandbox.
Junda Chen, Yi Sun, Yuxuan Zhang, Yuanbo Yang, Junda Su, Will Lin, Hao Zhang · 2026-11-20 · Towards Live-Editable LLM Infra for RSI
