Skip to content

Commit

Permalink
Fix the function
Browse files Browse the repository at this point in the history
  • Loading branch information
sadra-barikbin committed Feb 28, 2025
1 parent 6d378fc commit f92f9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ignite/distributed/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ def _rank_not_in_group(group: Optional[Union[Any, List[int]]]) -> bool:
if isinstance(group, list) and all(isinstance(item, int) for item in group):
group = new_group(group)
if has_hvd_support:
from hvd.common.process_sets import ProcessSet
from horovod.common.process_sets import ProcessSet

if isinstance(group, ProcessSet):
return group.included()
Expand Down

0 comments on commit f92f9f9

Please sign in to comment.