You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 1 does not equal 0 (while checking arguments for cudnn_convolution)
#196
Open
HongguLiu opened this issue
Jun 12, 2020
· 2 comments
Hello,
When I used multiple gpus to train model, I usually get this error. RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 1 does not equal 0 (while checking arguments for cudnn_convolution)
Could you tell me how to sole it.
best,
Honggu Liu
The text was updated successfully, but these errors were encountered:
Hello,
When I used multiple gpus to train model, I usually get this error.
RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 1 does not equal 0 (while checking arguments for cudnn_convolution)
Could you tell me how to sole it.
best,
Honggu Liu
The text was updated successfully, but these errors were encountered: