Slime 单 SGLang Actor 恢复故障修复
(4/8) Broken single-actor recovery: in colocated RL training, losing one SGLang actor crashes the health monitor and blocks every later training restart.
Hao AI Lab 修复了 Slime 共置 RL 训练中单个 SGLang Actor 死亡导致健康监控崩溃、后续重启全部受阻的问题。复现测试中,2 次运行的 6 次重启均失败;修复后系统会处理关停错误、清除失效条目并启动替代 Actor。
正文
(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 热点