I tried to install mxnet with CUDA support and eventually succeeded. Although the installation finally worked, all my python applications are freezing whenever I try to actually use it. To be more precise, I'm trying to run the validation code:
import mxnet as mx
a = mx.nd.ones((2, 3), mx.gpu())
b = a * 2 + 1
b.asnumpy()
When running this, nothing happens and the cell in my jupyter notebook dies not terminate. Same in Visual Studio 2019. It works fine if I leave out the GPU part. I'm running python 3.8 through an anaconda installation, CUDA version 10.1 and mxnet-cu101 version 1.7.0. The notebook with this code is running in a virtual environment (mxnet-cu101 is of course also installed for that environment).
I already googled around a lot, but a lot of posts about this topic are pretty old and recommend switching between old versions of all these packages for the at that time current version of mxnet.
Edit: Although the python notebook just freezes, I get the following error in the anaconda prompt:
Upgrade advisory: this mxnet has been built against cuDNN lib version 7500,
which is older than the oldest version tested by CI (7600). Set
MXNET_CUDNN_LIB_CHECKING=0 to quiet this warning.
My cuDNN version is 8.0.5.39, so i don't know how that relates to the warning message.