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: CUDA error: an illegal memory access was encountered
And I just check the source code "train.py" in this repo and I found it also reports an error when I try to use gpu > 2:
RuntimeError: Cowardly refusing to serialize non-leaf tensor which requires_grad, since autograd does not support crossing process boundaries. If you just want to transfer the data, call detach() on the tensor before serializing (e.g., putting it on the queue).
Anyone meets this error before?
The text was updated successfully, but these errors were encountered:
Meeting the same error: "RuntimeError: CUDA error: an illegal memory access was encountered" when training on multi-gpus, have you solved this problem? @yf1019
Hi, thanks to your great work.
I just trying to make this module into my own projects. While I found when I tried to use multi-gpu for training. The code will report errors as:
RuntimeError: CUDA error: an illegal memory access was encountered
And I just check the source code "train.py" in this repo and I found it also reports an error when I try to use gpu > 2:
RuntimeError: Cowardly refusing to serialize non-leaf tensor which requires_grad, since autograd does not support crossing process boundaries. If you just want to transfer the data, call detach() on the tensor before serializing (e.g., putting it on the queue).
Anyone meets this error before?
The text was updated successfully, but these errors were encountered: