Skip to content

Commit

Permalink
Update trainer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DesmonDay authored Dec 18, 2024
1 parent 8105691 commit 05f87a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddlenlp/trainer/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1909,7 +1909,7 @@ def _load_rng_state(self, checkpoint):
checkpoint_rng_state["hybrid_parallel_rng_state_tracker"]
)
except:
logger.warning("Hybrid paralell rng states changed when training environment changed, so we dot not set state tracker here.")
logger.warning("Hybrid paralell rng states change when training environment differs, so we dot not set state tracker here.")
else:
logger.warning("Not found hybrid parallel RNG state.")

Expand Down

0 comments on commit 05f87a5

Please sign in to comment.