Skip to content

Commit

Permalink
chore: remove hard code value to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lh0x00 committed Jan 28, 2024
1 parent 00905fc commit 0aa3bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/integrations/deepspeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def deepspeed_load_checkpoint(
# this magically updates self.optimizer and self.lr_scheduler
load_path, _ = deepspeed_engine.load_checkpoint(
checkpoint_path,
load_module_strict=False,
load_module_strict=load_module_strict,
load_optimizer_states=True,
load_lr_scheduler_states=True,
)
Expand Down

0 comments on commit 0aa3bc9

Please sign in to comment.