Fix for Slime Single SGLang Actor Recovery Failure
Hao AI Lab fixed an issue in Slime co-located RL training where the death of a single SGLang Actor caused health monitoring to crash and blocked all subsequent restarts. In reproduction tests, all 6 restart attempts across 2 runs failed; after the fix, the system handles shutdown errors, removes invalid entries, and launches a replacement Actor.
Body
(4/8) Broken single-actor recovery: in colocated RL training, losing one SGLang actor crashes the health monitor and blocks every later training restart.
When an SGLang actor dies during rollout, its server exits and frees the GPU, so the health monitor should simply remove and replace it. Instead, the monitor sends a shutdown call that fails right away because the actor is already dead. Since cleanup runs only after shutdown succeeds, the dead actor stays in the server list, and the unhandled error kills the monitor thread. After that, every trainer restart checks that dead entry first and crashes, forcing operators to tear down healthy engines and lose collected samples.
Reproduction: After we killed one SGLang actor mid-rollout, all 6 restart attempts failed across 2 runs.
Our fix: We handle dead-actor shutdown errors, always remove dead entries during cleanup, and keep the health monitor alive. With this fix, restarts clear the dead entry and launch a replacement cleanly.
PR: https://t.co/wDQKlDGNbk
AI Trends