I have NVIDIA Quadro P5000 with Windows 7, installed pytorch 0.4 with cuda 9.1.
I am using jupyter notebook to run pytorch codes.
torch.cuda.is_available() 

is True
But when I run the code
while True:
    torch.randn(2, 2).cuda() + torch.randn(2, 2).cuda()

There is no GPU utilisation. My nvidia-smi indicates
GPU  PID     TYPE   Process name                                     GPU Memory Usage
0         3019      C       /home/anaconda3/bin/python              N/A
Would appreciate if you can provide help, thanks!