eqy:

It could be that the binary package was not compiled with CUDA support.


It indeed seems to be the case:



 Bhavya_Soni:

Current version of torch(after updating) is 1.9.0+cpu.


@Bhavya_Soni make sure you are specifying the desired CUDA runtime version when installing the binaries as given here 11.