We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6977cd3 commit 821f964Copy full SHA for 821f964
recipes/dev/grpo_full_finetune_distributed.py
@@ -990,7 +990,10 @@ def train(self) -> None:
990
self._is_rank_zero
991
and curr_epoch == 0
992
and self.profiler_profile_memory
993
- and idx == self.profiler_wait_steps + self.profiler_warmup_steps + self.profiler_active_steps
+ and idx
994
+ == self.profiler_wait_steps
995
+ + self.profiler_warmup_steps
996
+ + self.profiler_active_steps
997
and self._device.type == "cuda"
998
):
999
torch.cuda.memory._record_memory_history(enabled=None)
0 commit comments