Error: found at least two devices with DataParallel #13184
Replies: 2 comments 3 replies
-
In the meanwhile I just decided to train the model by running this code as a python script (and not in a notebook) with strategy="ddp" and the training works now. I would still be happy to have a solution to the problem above though (with strategy="dp", for use in notebooks). |
Beta Was this translation helpful? Give feedback.
-
Hi @avivko, not directly related to your issue, but just wanted to let you know that the latest release (v1.7) added an experimental new strategy |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to train the model on GPUs only inside a notebook. Why is the cpu available as a device and how do I get rid of this error:
Results in:
I am new to using pytorch/pytorch_lightning, so I am sorry if the problem might be super trivial. I will really appreciate your help!
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions