FaceDetection-DSFD icon indicating copy to clipboard operation
FaceDetection-DSFD copied to clipboard

when i run the demo script, i got the warning that my cuda version is low

Open O-Givenchy opened this issue 6 years ago • 3 comments

the warning is as follows:

/home/anke/.conda/envs/dsfd/lib/python3.6/site-packages/torch/cuda/init.py:95: UserWarning: Found GPU0 GeForce RTX 2080 Ti which requires CUDA_VERSION >= 9000 for optimal performance and fast startup time, but your PyTorch was compiled with CUDA_VERSION 8000. Please install the correct PyTorch binary using instructions from http://pytorch.org

warnings.warn(incorrect_binary_warn % (d, name, 9000, CUDA_VERSION)) loading pretrained resnet model (no error hints, but the resnet model is loading all the time)

Actully, my cuda version is 10.

nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2018 NVIDIA Corporation Built on Sat_Aug_25_21:08:01_CDT_2018 Cuda compilation tools, release 10.0, V10.0.130

i dont know how to solve it . could u pls do me a favor ? looking forward to ur early reply .thx~

O-Givenchy avatar Jun 17 '19 00:06 O-Givenchy

obviously cuda 10 is installed ,but why torch._C._cuda_getCompiledVersion()=8000.....

O-Givenchy avatar Jun 17 '19 01:06 O-Givenchy

then remove the whole cuda and re-download with specific python version

seokhyeonSong avatar Jul 24 '19 07:07 seokhyeonSong

I think the cudatoolkit you downloaded with pytorch is 8.0, you should check out the version of your torch in env, not the whole cuda folder(usually in system folder) downloaded before .

ThomaswellY avatar Aug 02 '22 02:08 ThomaswellY