AI 热点

Slime修复训练服务器启动崩溃

UCSD Hao AI Lab更新于 12月4日 04:43

(6/8) Startup crash on every launch: megatron_server fails to start before loading weights or opening its HTTP port.

AI 导读

Hao AI Lab修复了Slime中megatron_server每次启动都会崩溃的问题,使教师服务器可正常启动并提供服务。上游重构后,SampleManager缺少智能体注册方法,而CI仅检查参数解析;补充该方法与测试后,3次GPU启动均返回HTTP 200。

正文

(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

来源

UCSD Hao AI Lab