verl icon indicating copy to clipboard operation
verl copied to clipboard

how to Skip Already Trained Data When Resuming from Checkpoint

Open chuangzhidan opened this issue 1 year ago • 3 comments

When resuming training from a checkpoint, the current implementation re-trains all data from the beginning of the dataset. This can lead to unnecessary repeated training on data that was already used before the checkpoint was saved.

It would be helpful if the framework supported skipping already trained samples when resuming, so that training continues only from the point it left off. checkpoint 恢复时,可以过滤掉保存checkpoint已经训练的数据吗?否则还是所有的数据重新训练一遍,请问如何操作和保存

Thanks♪(・ω・)ノ

chuangzhidan avatar May 07 '25 06:05 chuangzhidan

You can try setting trainer.resume_mode = 'auto'; it will resume training from the last interrupted checkpoint.

Kairosxy avatar May 07 '25 09:05 Kairosxy

Exactly, I have the same question.

zhaojingqian avatar Jun 06 '25 02:06 zhaojingqian

定时清理检查结论:该 issue 最近一次由当前运行账号(Kirrito-k423)之外账号产生的公开回复或公开引用是 2025-06-06T02:51:57Z,来源为 comment(zhaojingqian):https://github.com/verl-project/verl/issues/1425#issuecomment-2947899099。截至 2026-07-06,该时间已经超过 6 个月。

我已检查该 issue 的公开 comments 和 timeline(issue 页面:https://github.com/verl-project/verl/issues/1425;comments/timeline 对应 GitHub 公开 issue 记录)。根据本次定时清理规则,这类长时间没有新的非本人公开互动的 open issue 将先关闭。如果作者或社区成员仍能提供新的复现、证据或需求背景,请继续评论请求重开,或创建新的 issue 并引用这里的上下文。


Scheduled cleanup result: the latest public reply or public reference from an account other than the current runner (Kirrito-k423) was at 2025-06-06T02:51:57Z, from comment by zhaojingqian: https://github.com/verl-project/verl/issues/1425#issuecomment-2947899099. As of 2026-07-06, that is more than 6 months ago.

I checked the public comments and timeline for this issue (issue page: https://github.com/verl-project/verl/issues/1425; comments/timeline are part of the public GitHub issue record). Under the scheduled cleanup rule, open issues with no recent non-runner public interaction are closed. If the author or community can still provide a fresh reproduction, evidence, or requirement context, please comment to request reopening or open a new issue and link this context.

This response was generated by a scheduled Codex GPT5.5 issue processing task.

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