verl icon indicating copy to clipboard operation
verl copied to clipboard

能否支持断点续训,如果已有这个功能,我应该如何使用?Need a way to resume training from a checkpoint.

Open lihaoyuan81 opened this issue 1 year ago • 3 comments

因为一些原因(可能是设备IO,可能是公用显卡导致显存OOM),Verl的训练过程容易断掉,有没有能够断点续训的方式。支持保存训练的datapoint和optimizer_cnfig

lihaoyuan81 avatar May 08 '25 16:05 lihaoyuan81

Due to various issues (such as device I/O or GPU memory OOM caused by shared resources), the Verl training process often crashes. Is there a way to resume training from a checkpoint? Specifically, does it support saving the training datapoints and the optimizer configuration for recovery?

lihaoyuan81 avatar May 08 '25 16:05 lihaoyuan81

https://verl.readthedocs.io/en/latest/advance/checkpoint.html

eric-haibin-lin avatar May 08 '25 17:05 eric-haibin-lin

dataloader state is included in the ckpt

eric-haibin-lin avatar May 08 '25 17:05 eric-haibin-lin