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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parameter "device" in SupervisedRunner has no effect #798
Labels
Comments
Hi! Thank you for your contribution! Great first issue! |
I faced with the same problem |
You can use |
I certainly do use |
I'm sorry to do that, but |
now, it's your turn 馃槀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃悰 Bug Report
When running with
device=torch.device('cuda:0')
ordevice='cuda:0'
model still uses all the GPUs.When running with
device=torch.device('cpu')
ordevice='cpu' an
errorRuntimeError: module must have its parameters and buffers on device cuda:0 (device_ids[0]) but found one of them on device: cpu
appears.How To Reproduce
Run any sort of training using
SupervisedRunner(device=torch.device('cpu'))
orSupervisedRunner(device=torch.device('cuda:0'))
on a machine with multiple GPUs.Environment
The text was updated successfully, but these errors were encountered: