Skip to content

Commit

Permalink
fix: yapf linting
Browse files Browse the repository at this point in the history
  • Loading branch information
slabhs committed Oct 30, 2024
1 parent e34aa0c commit 29b0edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_xla/distributed/zero_redundancy_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def allgather_weights_and_update_full_parameter(self, sharding_scheme=None):

# All gather the new weights across the ranks and assign them to the full parameters
if sharding_scheme is None:
sharding_scheme = self._get_sharding_scheme({})
sharding_scheme = self._get_sharding_scheme({})
sharded_data = []
for param_group, sharded_param_group in zip(
self.param_groups, self.base_optimizer.param_groups):
Expand Down

0 comments on commit 29b0edb

Please sign in to comment.