Want to understand no_sync #16542
Unanswered
Dhruv88
asked this question in
DDP / multi-GPU / multi-node
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am new with distributed training in PyTorch. In one of my experiments I don't want my nodes to sync up i.e. I want each node to learn a different model. For this in my training loop I am putting the forward, backward and
optimizer.step()
all inside themodel.no_sync()
context. Will this work as I want it to or should I do something else?Beta Was this translation helpful? Give feedback.
All reactions