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
You might be getting that error if the pre-trained model is trained on a different number of Cuda devices. For example, while training the model you used 3 Cuda devices and now you are loading the same trained model on a device with only a single Cuda device.
RuntimeError: cuda runtime error (10) : invalid device ordinal at torch/csrc/cuda/Module.cpp:32
Please tell me how to solve this problem?
The text was updated successfully, but these errors were encountered: