Conversation
|
@vfdev-5 , it seems that HVD test ignite/ignite/distributed/utils.py Lines 387 to 388 in ed934ef ignite/ignite/distributed/comp_models/horovod.py Lines 201 to 202 in ed934ef By the way doesn't HVD really support |
We raise an error for now if a group is passed as arg: ignite/ignite/distributed/comp_models/horovod.py Lines 167 to 168 in 8255a0f One error in the CI is : and we check it with Maybe there is something else is going on ? |
|
In |
|
I mean the below if statement is not enough for horovod as the resulting group is always a ignite/ignite/distributed/utils.py Lines 390 to 391 in ed934ef |
actually, this is weird why we use specific |
|
So we could replace it with something like this maybe: # In idist:
def is_in_group(group):
if group is dist.GroupMember.NON_GROUP_MEMBER:
return False
if isinstance(group, hvd.ProcessSet):
return group.included()
return True |
Yes, this makes sense. I would just make it private and call like in pytorch: |
816c6c0 to
ed934ef
Compare
ed934ef to
06836ba
Compare
|
I think we can close this PR |
Description:
Based on #3301