Install error cant detect cuda

torch.cuda.is_avaliable()
return False

Collecting environment information…
PyTorch version: 1.2.0
Is debug build: False
CUDA used to build PyTorch: 10.0.130
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.5 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: Could not collect
CMake version: Could not collect

Python version: 3.6 (64-bit runtime)
Is CUDA available: False
CUDA runtime version: 10.0.130
GPU models and configuration:
GPU 0: TITAN RTX
GPU 1: TITAN RTX
GPU 2: TITAN RTX
GPU 3: TITAN RTX
GPU 4: TITAN RTX
GPU 5: TITAN RTX
GPU 6: TITAN RTX
GPU 7: TITAN RTX

Nvidia driver version: 450.80.02
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.19.4
[pip3] torch==1.2.0
[pip3] torchvision==0.4.0a0
[conda] _pytorch_select 0.2 gpu_0
[conda] blas 1.0 mkl
[conda] cudatoolkit 10.0.130 0
[conda] mkl 2020.2 256
[conda] mkl-service 2.3.0 py36he904b0f_0
[conda] numpy 1.19.4 py36h8732dcd_1
[conda] pytorch 1.2.0 cuda100py36h938c94c_0
[conda] torchvision 0.4.0 cuda100py36hecfc37a_0

Make sure nvidia-smi detects all devices and doesn’t print any error status for any device.
If you’ve recently upgraded a driver, reboot the system.
If that doesn’t help, create a new virtual environment and install the latest stable release (or nightly binary).