Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
gongel committed Mar 7, 2024
1 parent 3fb1af8 commit 087b3d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paddlenlp/trainer/training_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,7 @@ def is_segment_parallel_supported():
if self.unified_checkpoint:
if self.ignore_save_lr_and_optim:
self.unified_checkpoint_config = ""
logger.info("Setting unified_checkpoint_config to empty for using ignore_save_lr_and_optim.")
else:
unified_checkpoint_config = set(self.unified_checkpoint_config.split(" "))
for x in unified_checkpoint_config:
Expand Down

0 comments on commit 087b3d3

Please sign in to comment.