-
Notifications
You must be signed in to change notification settings - Fork 4
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
how to use CPU for testing purposes. #39
Comments
Hey Brian! Thanks so much for raising this issue. This has to do with the fact that PyTorch Lightning changed the trainer API in their 2.0.0 release. I'll have a permanent fix for this shortly, but for now you should be able to train on a CPU by running For running on your MAC GPU, can you send me the output of running the following via the command line: python -m torch.utils.collect_env |
Amazing! Thanks! And as for using MAC GPU, I was able to get torch to use it for some other software using device = torch.device("mps"), but as for the output of
|
Ok gotchya, yea EUGENe isn't very sophisticated with it's detection of devices. If the output of From a quick look, it seems like PyTorch Lightning needs to be told the accelerator is "mps". So right now, I'm not sure you could run the |
Hello! Thank you for this incredibly well-documented tool!
I'm trying to get familiar with your software using my own personal computer that doesn't have a GPU (or rather has a MAC GPU which I know can be specified with device = torch.device("mps")), and I keep getting the following exception:
MisconfigurationException:
Trainer(devices=0)
value is not a valid input using cpu accelerator.I received this message for the basic usage tutorial and also trying the DeepSTARR model. How would I use your API to allow the model to use CPU for testing purposes?
Thank you!
Brian
The text was updated successfully, but these errors were encountered: