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
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Compiling MXNet with nvrtc support dynamically links libcuda.so. However, libcuda.so is part of the cuda driver and not typically available on cpu machines. This means, on cpu machines libmxnet.so will have missing dependencies and can't be loaded.
Unfortunately, parts of MXNet compilation require to dlopen(libmxnet.so). In particular OpWrapperGenerator.py for the cpp package. This breaks compiling mxnet with nvrtc + cpp-package on cpu machines (as used by our CI).
As a workaround, the stub driver can be added to LD_LIBRARY_PATH. A better solution may be to dlopen libnvrtc and thereby drop the dependency on libcuda.so.