Skip to content

Commit 3a4681f

Browse files
TongLi3701Tong Li
authored andcommitted
fix pp memory issue (#6344)
Co-authored-by: Tong Li <[email protected]>
1 parent 6ae54a6 commit 3a4681f

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
@@ -358,7 +358,7 @@ def _criterion(outputs, inputs):
358358
criterion=_criterion,
359359
optimizer=self.optimizer,
360360
return_loss=True,
361-
return_outputs=True,
361+
return_outputs=False,
362362
)
363363
loss = policy_model_outputs["loss"]
364364

0 commit comments

Comments
 (0)