I get a warning message on cudnn when run an official example mnist.py 24. The message is
“/usr/local/lib/python3.5/dist-packages/torch/backends/cudnn/init.py:57: UserWarning: cuDNN library not found. Check your LD_LIBRARY_PATH
}.get(sys.platform, ‘LD_LIBRARY_PATH’)))”
Sure, if I export cuDNN library in LD_LIBRARY_PATH so that I can get rid of this warning message.
However, in Linux like ubuntu 16.xx we use dynamic linker run-time bindings (use ldconfig to
make proper config), and usually no need to use environment variable LD_LIBRARY_PATH.
Can we make it in this way?