Skip to content

Commit 8992def

Browse files
TongLi3701Tong Li
andauthored
fix pp memory issue (#6344)
Co-authored-by: Tong Li <[email protected]>
1 parent bb6f5d9 commit 8992def

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/ColossalChat/coati/distributed/grpo_consumer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def _criterion(outputs, inputs):
345345
criterion=_criterion,
346346
optimizer=self.optimizer,
347347
return_loss=True,
348-
return_outputs=True,
348+
return_outputs=False,
349349
)
350350
loss = policy_model_outputs["loss"]
351351

0 commit comments

Comments
 (0)