nvidiamxnet

Getting OSError: libnccl.so.2 while importing mxnet


My configurations are:

gpu: Nvidia GeForce MX450 with 2GB Graphics Card
Cuda version: 10.1
MxNet Version: mxnet-cu101: 1.8.0

While trying to mxnet using import mxnet I am getting the following error:

OSError: libnccl.so.2: cannot open shared object file: No such file or directory

I have been using mxnet for last 2years, but never faced the issue before. As far as I knew mxnet installed them on their own as dependencies. However it didn't happen this time.


Solution

  • This happens only in mxnet-cu101==1.8.0 version. I downgraded to mxnet-cu101==1.7 and the problem got fixed.