-
-
Notifications
You must be signed in to change notification settings - Fork 649
Added args/kwargs to idist barrier #2353
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Conversation
# Conflicts: # ignite/distributed/utils.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates @fco-dv !
Just a few nits to fix and I think good to go
Co-authored-by: vfdev <vfdev.5@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @fco-dv !
@fco-dv looks good (approving the content), can we also add few tests of this new feature ? |
thanks for approving @vfdev-5 ! yes I will add some |
Co-authored-by: vfdev <vfdev.5@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @fco-dv ! LGTM
@fco-dv are we good and can merge it ? If OK for you please merge it by yourself. |
seems like |
@fco-dv what remains for this PR ? |
# hvd.allreduce(torch.tensor(0, device=self.device()), name="barrier") | ||
hvd.allreduce(torch.tensor(0, device="cpu"), name="barrier") | ||
else: | ||
hvd.barrier(*args, **kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vfdev-5 not a lot on this PR remaining I think, just wanted to check the hvd 2 gpus tests for this because it seems to fail here.
Fixes #2213
Description: Pass args and kwargs to idist.barrier method, route it to backends
Check list: