Skip to content

Commit

Permalink
Update hivemind/optim/experimental/state_averager.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Borzunov <[email protected]>
  • Loading branch information
justheuristic and borzunov authored Nov 15, 2021
1 parent 7266788 commit 7074785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hivemind/optim/experimental/state_averager.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ def load_state_from_peers(self, **kwargs):

metadata, flat_tensors = loaded_state
if (not isinstance(metadata.get("epoch"), int)) or metadata["epoch"] < self.local_epoch:
logger.error("Cowardly refusing to load state from peer: peer's epoch is behind our local epoch.")
logger.warning("Cowardly refusing to load state from peer: peer's epoch is behind our local epoch")
return

loaded_parameters_and_extras = flat_tensors[:num_parameters_and_extras]
Expand Down

0 comments on commit 7074785

Please sign in to comment.