Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
loadams committed Apr 15, 2024
1 parent 2b3d31f commit ff018d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepspeed/runtime/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2542,7 +2542,7 @@ def all_gather_scalar(self, value, dp_group):
return tensor_list

def module_state_dict(self, destination=None, prefix="", keep_vars=False, exclude_frozen_parameters=False):
sd = self.module.state_dict(destination, prefix, keep_vars)
sd = self.module.state_dict(destination=destination, prefix=prefix, keep_vars=keep_vars)

# Remove frozen parameter weights from state_dict if specified
if exclude_frozen_parameters:
Expand Down

0 comments on commit ff018d3

Please sign in to comment.