Slime Fixes Training Server Startup Crash
Hao AI Lab fixed an issue in Slime that caused megatron_server to crash every time it started, allowing the teacher server to start and provide services normally. Following an upstream refactor, SampleManager lacked an agent registration method, while CI only checked argument parsing; after adding the method and tests, all three GPU startup attempts returned HTTP 200.
Body
(6/8) Startup crash on every launch: megatron_server fails to start before loading weights or opening its HTTP port.
During startup, Slime's training actor group asks its rollout manager to register actors and return the initial weight version. After an upstream refactor added that step, megatron_server still passed its own SampleManager in place of RolloutManager, which did not support it. Because CI only checked argument parsing, every real launch crashed during startup.
Reproduction: Starting megatron_server with default flags crashed right away before any port opened.
Our fix: We add the actor-registration method to SampleManager and back it with a CI test. With this fix, the teacher server starts cleanly and serves HTTP 200 in 3 out of 3 GPU launches.
PR: https://t.co/aMfRbXpHdd
AI Trends