Can not copy data to gpu

I want to run a project built by mxnet, but it can’t run and there was no error or warning. I have found that in this project the code stopped when it was need to copy data from cpu to gpu. So I test the similar code like above. As you can see, when the ctx=mx.gpu()(or mx.gpu(0)), the process looks like being blocked, I have to press “Ctrl + C” to interrupt.

python version 3.6.2
mxnet version mxnet-cu102 1.7.0
platform win11
I have change the mxnet, CUDA and cudnn version, but it does not work.