Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InPlaceABNSync does not Sync #219

Open
fcdl94 opened this issue Dec 21, 2021 · 0 comments
Open

InPlaceABNSync does not Sync #219

fcdl94 opened this issue Dec 21, 2021 · 0 comments

Comments

@fcdl94
Copy link

fcdl94 commented Dec 21, 2021

Hello!

I found an issue using InPlaceABNSync with the newer PyTorch version. I'm using torch 1.8.1 and inplace 1.1.0.

The bug is that InPlaceABNSync does not sync across GPU unless explicitly passed the distributed group.
To clarify, if I instance it as:
InPlaceABNSync(64, activation="leaky_relu", activation_param=.01)
it has the same behavior of InPlaceABN (without Sync) if I use 2 GPUs.

Differently, if I instance it as:
InPlaceABNSync(64, activation="leaky_relu", activation_param=.01, group=distributed.group.WORLD)
it will correctly work.

The repo and full code can be found here.

Hope it helps! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant