Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
linshokaku committed Oct 31, 2023
1 parent 4ffcf4d commit 5e5d5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_pfn_extras/training/extensions/_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,4 +519,4 @@ def _make_snapshot(self, manager: ExtensionsManagerProtocol) -> None:
if self._rank == self._saver_rank:
super()._make_snapshot(manager)
if self._size > 1:
torch.distributed.barrier()
torch.distributed.barrier() # type: ignore

0 comments on commit 5e5d5d3

Please sign in to comment.