pytorch lightning trainer cant find gpu #10523
Unanswered
ElinorG11
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
Could you set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to use this git repo: https://github.com/huyvnphan/PyTorch_CIFAR10 to test trained pytorch models on CIFAR. the writer of this repo used pytorch lighting package, and I'm experiencing the following error:
The line where the writer is calling Trainer (from train.py):
I'm running this code on linux, ubuntu 20.04 with python 3.8. the command
torch.cuda.device_count()
returns 1.and those are the packages installed:
perhaps you have any idea why am I getting this error? I tried reading issues regarding this subject, but none helped.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions