Skip to content

Commit 3b61452

Browse files
committed
fix nit
1 parent ea9d09c commit 3b61452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/grpo/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ async def continuous_training():
437437
training_step = 0
438438
restart_tracer = True # Flag to control when to restart tracer
439439

440-
while max_steps < 0 or training_step < max_steps:
440+
while max_steps == -1 or training_step < max_steps:
441441
# Restart tracer when needed (initial start or after completing a training step)
442442
# Otherwise, we cannot measure time waiting for buffer
443443
if restart_tracer:

0 commit comments

Comments
 (0)