You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bug] policy.logprob_chunk_size is ignored by the training loss path which leads to increased memory #2871
Run GRPO training with the Megatron training backend. policy.logprob_chunk_size is honoured by the inference logprob paths (prev/reference logprobs via LogprobsPostProcessor) but never reaches the training loss path. During the loss forward/backward, current-policy logprobs are always computed by the un-chunked DistributedLogprob on an eagerly fp32-cast, full-sequence logits tensor — even with logprob_chunk_size and defer_fp32_logits set ; which increases memory consumption unnecessarily.
Activity