During the training GRPO, the log_prob of some samples turned out to be NaN
During the training process, when calculating compute_log_prob, the log_prob of some samples turned out to be nan.
However, the samples can be correctly decoded, and the decoded content is also correct. What causes this phenomenon? Have any of you encountered such a problem?
Only for some sample.
Have you found the reason or how to fix this?
Have you found the reason or how to fix this?
Not yet!
@zyf8818 which LLM did you use? Have you found a solution?
定时清理检查结论:按社区 issue 定时处理规则关闭此 issue。
证据:最近一次非当前运行账号的公开回复或引用是 2025-08-15T13:25:36Z(actor: zyf8818, kind: comment),早于本轮 6 个月阈值 2026-01-13T01:10:17.218155+00:00。 检查来源:https://github.com/verl-project/verl/issues/2790,comments API https://api.github.com/repos/verl-project/verl/issues/2790/comments,timeline API https://api.github.com/repos/verl-project/verl/issues/2790/timeline。
如果作者或社区成员仍能提供新的复现、证据或需求背景,请在这里重新评论请求维护者重开,或创建新的 issue 并链接到本 issue。
Scheduled cleanup conclusion: this issue is being closed under the community issue processing policy.
Evidence: The latest public reply or reference from an account other than the current automation account was 2025-08-15T13:25:36Z (actor: zyf8818, kind: comment), which is older than the six-month threshold for this run (2026-01-13T01:10:17.218155+00:00). Sources checked: https://github.com/verl-project/verl/issues/2790, comments API https://api.github.com/repos/verl-project/verl/issues/2790/comments, timeline API https://api.github.com/repos/verl-project/verl/issues/2790/timeline.
If the author or community can still provide a fresh reproduction, evidence, or requirement context, please comment here to ask maintainers to reopen it, or open a new issue and link back to this one.
This response was generated by a scheduled Codex GPT5.5 issue processing task.