Skip to content

Commit

Permalink
minor fix in warning message (pytorch#2213)
Browse files Browse the repository at this point in the history
  • Loading branch information
fco-dv committed Dec 12, 2021
1 parent 131ac8d commit 1b62160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignite/distributed/comp_models/horovod.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def barrier(self, *args: Any, **kwargs: Any) -> None:
if len(args) or len(kwargs):
warnings.warn(
f"Arguments {list(args) + list(kwargs)} are not passed to horovod barrier method. "
f"Please use horovod version > '0.23.0'"
f"Please use horovod version>='0.23.0'"
)
# https://github.com/horovod/horovod/issues/159#issuecomment-424834603
# hvd.allreduce(torch.tensor(0, device=self.device()), name="barrier")
Expand Down

0 comments on commit 1b62160

Please sign in to comment.