Q:

RuntimeError: error in LoadLibraryA

Try this workground: run the following code after import torch (should be fixed in 1.5):

import ctypes
ctypes.cdll.LoadLibrary('caffe2_nvrtc.dll')
1

New to Communities?

Join the community