verl icon indicating copy to clipboard operation
verl copied to clipboard

actor_rollout_save_checkpoint cause task fail

Open TristanMeng opened this issue 1 year ago • 2 comments

hello, when i train on 2 node , 8 gpus per node. task fail after save model. ray logs is above pics.

Image Image

i don't find out other error log, i need help .

TristanMeng avatar Nov 28 '25 04:11 TristanMeng

I met the same problem,have you solved yet?

AdvancingEther avatar Feb 01 '26 03:02 AdvancingEther

Thanks for the report. The current screenshots show that WorkerDict.actor_rollout_save_checkpoint failed and Ray reported WORKER_DIED, but they do not include the underlying Python traceback or the worker stderr around the crash. This is not enough to identify a verl bug yet.

Could you please provide:

  1. The full traceback from the failed actor_rollout_save_checkpoint worker log, not only the Ray dashboard screenshot.
  2. Your verl version or commit hash.
  3. The checkpoint-related config, especially trainer.default_local_dir, trainer.default_hdfs_dir, trainer.save_freq, actor_rollout_ref.actor.strategy, and the actor checkpoint save_contents.
  4. Whether trainer.default_local_dir is on a shared filesystem visible and writable from all nodes.
  5. If possible, the worker stderr/stdout file from the Ray session directory for the failed worker.

A related issue is #3354, where actor_rollout_save_checkpoint failed because the configured checkpoint path was under a filesystem parent directory that was not writable, causing os.makedirs to fail with OSError: [Errno 30] Read-only file system. If your full traceback shows a similar os.makedirs or permission error, please try setting trainer.default_local_dir to an existing shared directory that every node can write to.

感谢反馈。当前截图只能看到 WorkerDict.actor_rollout_save_checkpoint 失败,以及 Ray 报 WORKER_DIED,但没有包含真正的 Python traceback 或 worker 崩溃前后的 stderr 日志。因此目前信息还不足以判断是否是 verl 的代码问题。

请补充以下信息:

  1. 失败的 actor_rollout_save_checkpoint worker 完整 traceback,不只是 Ray dashboard 截图。
  2. 使用的 verl 版本或 commit hash。
  3. checkpoint 相关配置,尤其是 trainer.default_local_dir、trainer.default_hdfs_dir、trainer.save_freq、actor_rollout_ref.actor.strategy 和 actor checkpoint 的 save_contents。
  4. trainer.default_local_dir 是否位于所有节点都可见且可写的共享文件系统上。
  5. 如果方便,请提供 Ray session 目录下该失败 worker 对应的 stderr/stdout 文件。

一个相关案例是 #3354:同样是在 actor_rollout_save_checkpoint 中失败,原因是 checkpoint 路径的父目录不可写,os.makedirs 抛出了 OSError: [Errno 30] Read-only file system。如果你的完整 traceback 也显示类似的 os.makedirs 或权限错误,请先尝试把 trainer.default_local_dir 设置为所有节点都能写入的已存在共享目录。 This response was generated by a scheduled Codex GPT5.5 issue processing task.

Kirrito-k423 avatar Jul 24 '26 01:07 Kirrito-k423