-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
pytorch_lightning.utilities.exceptions.MisconfigurationException GPU not finding #1
Comments
@arita37 Which version of PyTorch Lightning are you using? |
I dont have a GPU on my laptop,
|
Can you send me the output from pip freeze ? because in my machine, when I use gpus=0, it runs without using gpu |
gpus=0 is NOT in your input config
… On Feb 4, 2021, at 18:05, manujosephv ***@***.***> wrote:
Can you send me the output from pip freeze ? because in my machine, when I use gpus=0, it runs without using gpu
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
TrainerConfig has You can find the Documentation here Are you working in Linux or Windows? In the backend, this parameter is getting passed through to the PyTorch Lightning Trainer. You can see here that passing |
Issue is
[0] and 0 are completely different....
Thats the bug in the code.... I think
(cf stackoverflow).
None may work....
… On Feb 5, 2021, at 2:52, manujosephv ***@***.***> wrote:
TrainerConfig has gpus and is set to 0 by default
You can find the Documentation here
Are you working in Linux or Windows?
In the backend, this parameter is getting passed through to the PyTorch Lightning Trainer. You can see here that passing 0 to gpus means "run on cpu". Another alternative is to pass None to gpus. Can you check if that solves your problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Can you point me to the stackoverflow page? And in the code we are passing gpus=0 and not gpus=[0]. Should we we passing [0] instead? |
Thanks a lot. Have made the default as Can you check out the latest code and check if the issue is resolved? |
thanks. Am developing dsa2, which has similar design pattern than this repo, (larget scope). We can discuss |
Pushed a new version fixing this. closing the issue |
Excellent work,
You can check , we are using it
https://github.com/arita37/dsa2/tree/multi
Set to CPU usage for lightning
The text was updated successfully, but these errors were encountered: