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

NaN output with distributed training #8

Closed
choltz95 opened this issue Dec 6, 2021 · 2 comments
Closed

NaN output with distributed training #8

choltz95 opened this issue Dec 6, 2021 · 2 comments

Comments

@choltz95
Copy link

choltz95 commented Dec 6, 2021

Hi, thanks for this project. Just opening for future investigation. I am finding that training with more than one GPU using the basic pytorch DPP demo on CIFAR-10 results in NaN outputs after a few epochs. Training using a single gpu works great within the DPP framework.

The implementation from [meliketoy](https://github.com/meliketoy/wide-resnet.pytorch works fine, but uses more gpu memory.

@choltz95 choltz95 closed this as completed Dec 6, 2021
@choltz95
Copy link
Author

choltz95 commented Dec 6, 2021

looks like that other repo also suffers from the same issue, just takes longer.

@choltz95
Copy link
Author

choltz95 commented Dec 6, 2021

Just in case someone ever has a similar issue with DPP: need to ensure proper usage of DPP.no_sync. In my case, it was necessary for adversarial training.

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