We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
so i run train_dist.py and add print(param) under if section `
if type(param) is torch.Tensor: print(param) dist.all_reduce(param.grad.data, op=dist.reduce_op.SUM, group=0)
` param never printed which means all_reduce never called.
The text was updated successfully, but these errors were encountered:
I even commented out # average_gradients(model) line in run() and there is no difference in output!!
Sorry, something went wrong.
This line can be commented out, I think. # if type(param) is torch.Tensor:
No branches or pull requests
so i run train_dist.py and add print(param) under if section
`
`
param never printed which means all_reduce never called.
The text was updated successfully, but these errors were encountered: