Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan138 committed Dec 3, 2024
1 parent 8b3dce2 commit 799dd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2485,7 +2485,7 @@ def _inner_training_loop(
else:
self.accelerator.gradient_state._set_sync_gradients(True)

if (self.state.global_step == 10):
if (self.state.global_step == args.stable_train_warmup_steps):
start_train_stable_time = time.time()

if self.args.include_num_input_tokens_seen:
Expand Down

0 comments on commit 799dd28

Please sign in to comment.