Pytorch for cuda 10.2


When I tried to install pytorch for cuda 10.2. torch.cuda.is_available() return false.
And in both cases(torch 10.1/10.2) I am getting AssertionError: Torch not compiled with CUDA enabled.