Hello, Im trying to use pytorch with GPU in my ubuntu 18.04. The GPU is a GeForce GTX 1070
nvidia-smi:

nvidia-smi-herc729×504 56.6 KB

nvcc --version:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Wed_Oct_23_19:24:38_PDT_2019
Cuda compilation tools, release 10.2, V10.2.89

.bashrc file:
export PATH="/usr/local/cuda-10.2/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda-10.2/lib64:$LD_LIBRARY_PATH"

I installed pytorch using:
pip install torch torchvision torchaudio

from here
Torch version:
PyTorch Version: 1.8.0

Python version:
Python 3.8.7

gcc/g++ versions:
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

If I try to get the GPU, I get the following:
>>> import torch
>>> print(torch.cuda.is_available())
False

Can anyone advice me please