How do i set Trainer parameters to run training on a CPU only machine? #9776
Unanswered
HareshKarnan
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 1 reply
-
config looks correct. which PL version are you using? can you try v1.4.9 released recently? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
My current setting is
trainer = pl.Trainer(gpus=None, max_epochs=args.max_epochs, log_every_n_steps=10, distributed_backend='ddp_cpu', logger=False, )
However, i get the following error :
pytorch_lightning.utilities.exceptions.MisconfigurationException: You requested GPUs: [0]
But your machine only has: []
Beta Was this translation helpful? Give feedback.
All reactions