Skip to content

Commit

Permalink
Fixed mypy failure on CI (pytorch#2717)
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 committed Sep 20, 2022
1 parent 62230fb commit af0641b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignite/distributed/comp_models/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _create_from_backend(
self._backend = backend
self.setup_env_vars(rank, world_size)

init_pg_kwargs = {}
init_pg_kwargs: Dict[str, Any] = {}
if timeout is not None:
init_pg_kwargs["timeout"] = timeout

Expand Down

0 comments on commit af0641b

Please sign in to comment.