Solved by spanev in post #3 
              
              
                Hi @prabu-github, 
This has problably something to do with the fact that you do not have a GPU, can you please run: 
from torchvision import _C
if hasattr(_C, 'CUDA_VERSION'):
    cuda = _C.CUDA_VERSION

this is the generated content of version.py, the code is here.