-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
all_gather raises NotImplementedError when no Accelerator defined in Trainer #5181
Comments
Fyi your colab notebook is not public, it can't be accessed :) |
@awaelchli sorry my bad. Corrected and changed the link in bug description. You should be able to access now. |
@tchaton we should provide implementations for all_gather on cpu and single gpu to make code device agnostic. Does that make sense? |
Hey @awaelchli, Yes, we should. Best, |
Dear @8greg8, I checked the notebook and couldn't reproduce the bug. @awaelchli I have checked the code and it seems we are already supporting Best, |
Dear @8greg8, I checked the notebook and couldn't reproduce the bug. @awaelchli I have checked the code and it seems we are already supporting Best, |
Yes because that came automatically with the accelerator refactor and the discussion here is before that was introduced. |
🐛 Bug
When no Accelerator is defined in Trainer, all_gather function in LightningModule raises NotImplementedError.
Please reproduce using the BoringModel and post here
https://colab.research.google.com/drive/1VPEIaQ-aN5KVA70VtvGk24AVkTYPvMoY?usp=sharing
To Reproduce
Expected behavior
Environment
Additional context
The text was updated successfully, but these errors were encountered: