Using GPUS in linux virtual machine

Hello,

I was trying to use dataParallel on windows but it doesn’t work. I got the error: Pytorch is not compiled with NCCL support

I think the reason for this is that is not supported by windows.

So I try to run the script in ubuntu windows application, however GPUS are not detected.

I type nvidia-smi on the ubuntu command window and it says that it is not able to communicate with NVIDIA driver.

I installed nvidia-utils-440 and nvidia-driver-440 on the ubuntu virtual machine but still it gives the same error.

Everyone knows why?

Thank you

Hi,

You will need to set up your virtual machine to have full access to the GPU so that the linux machine can use it.
I am not sure you can actually do that all the time, you will need to check the configuration of your virtual machine to set it up properly.