Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ebonnafoux committed Apr 16, 2024
1 parent 075e7b6 commit 584f0c2
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 = destination, prefix = prefix,keep_vars = 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 584f0c2

Please sign in to comment.