Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found

Doctor Octopus

Using tensorflow 2.4.1

When I run my program, I'm getting this error and can't use my gpu.

I'm using CUDA 11.0, cudnn 8.0

2021-02-07 03:36:18.132005: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
WARNING:tensorflow:From D:/PycharmProjects/pythonProject/models/kpş,i.py:5: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version.
Instructions for updating:
Use `tf.config.list_physical_devices('GPU')` instead.
2021-02-07 03:36:19.735127: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-02-07 03:36:19.739052: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library nvcuda.dll
2021-02-07 03:36:20.715634: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1720] Found device 0 with properties: 
pciBusID: 0000:01:00.0 name: GeForce GTX 1650 computeCapability: 7.5
coreClock: 1.56GHz coreCount: 16 deviceMemorySize: 4.00GiB deviceMemoryBandwidth: 119.24GiB/s
2021-02-07 03:36:20.716281: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudart64_110.dll
2021-02-07 03:36:20.723519: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-02-07 03:36:20.724040: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll
2021-02-07 03:36:20.729436: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cufft64_10.dll
2021-02-07 03:36:20.731800: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library curand64_10.dll
2021-02-07 03:36:20.741580: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusolver64_10.dll
2021-02-07 03:36:20.745576: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cusparse64_11.dll
2021-02-07 03:36:20.746657: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
2021-02-07 03:36:20.746971: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1757] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
2021-02-07 03:36:20.836861: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1261] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-02-07 03:36:20.837144: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1267]      0 
2021-02-07 03:36:20.837314: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1280] 0:   N 
2021-02-07 03:36:20.837493: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
nipun

watch this video to solve this problem,
this file not found error arises due to the missing of Microsoft visual studio C++ reproducible file in the CUDA folder.
additional;
with the PyTorch in conda environment, there is no addition CUDA and Cudnn installation, because after type conda install pytorch, conda installs both CUDA and cudnn into that conda environment.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Dlerror: cudnn64_7.dll not found

From Dev

Could not load SSL library - dll not found

From Java

Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation

From Dev

Python.NET & TensorFlow & CUDA: Could not load dynamic library 'cublas64_11.dll'

From Dev

PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8_12c.dll' - The specified procedure could not be found

From Dev

Unable to load dynamic library php_zmq.dll - The specified module could not be found

From Dev

php_oci8.dll - Unable to load dynamic library

From Dev

FMUException: Error loading the binary. Could not load the DLL: A dynamic link library (DLL) initialization routine failed

From Dev

Dll Library was found but could not be loaded in FME

From Dev

could not load library plpython3.dll

From Dev

Unable to load dynamic library 'php_oci8_11g.dll'

From Dev

OMNeT++, <!> Error: Cannot load library '../../src//libveins.dll': The specified procedure could not be found

From Dev

Server library could not be loaded and the dynamic link library LIBPQ.dll

From Dev

Could not load dynamic library 'libcublasLt.so.11'; dlerror: libcublasLt.so.11: cannot open shared object file: No such file or directory

From Dev

Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory;

From Dev

Unable to load shared library 'db2app64.dll'

From Dev

PHP Warning PHP Startup Unable to load dynamic library php_pdo_sqlsrv_7_ts_x64.dll

From Dev

Could not be located in dynamic link library php4ts.dll

From Dev

The ordinal 3283 could not be located in the dynamic link library libmysql.dll

From Dev

DLError (Exec format error) Ruby26-x64 trying to open python.dll

From Dev

vim could not load library python27.dll

From Dev

ImportError: DLL load failed: The specified module could not be found for numpy

From Dev

pyodbc ImportError: DLL load failed: The specified module could > not be found

From Dev

Python: ImportError: DLL load failed: The specified module could not be found

From Dev

Pycharm: DLL load failed: The specified procedure could not be found

From Java

Tensorflow error : DLL load failed: The specified procedure could not be found

From Java

PIL: DLL load failed: specified procedure could not be found

From Java

ImportError: DLL load failed: The specified module could not be found

From Java

ImportError: DLL load failed: The specified module could not be found

Related Related

  1. 1

    Dlerror: cudnn64_7.dll not found

  2. 2

    Could not load SSL library - dll not found

  3. 3

    Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation

  4. 4

    Python.NET & TensorFlow & CUDA: Could not load dynamic library 'cublas64_11.dll'

  5. 5

    PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_oci8_12c.dll' - The specified procedure could not be found

  6. 6

    Unable to load dynamic library php_zmq.dll - The specified module could not be found

  7. 7

    php_oci8.dll - Unable to load dynamic library

  8. 8

    FMUException: Error loading the binary. Could not load the DLL: A dynamic link library (DLL) initialization routine failed

  9. 9

    Dll Library was found but could not be loaded in FME

  10. 10

    could not load library plpython3.dll

  11. 11

    Unable to load dynamic library 'php_oci8_11g.dll'

  12. 12

    OMNeT++, <!> Error: Cannot load library '../../src//libveins.dll': The specified procedure could not be found

  13. 13

    Server library could not be loaded and the dynamic link library LIBPQ.dll

  14. 14

    Could not load dynamic library 'libcublasLt.so.11'; dlerror: libcublasLt.so.11: cannot open shared object file: No such file or directory

  15. 15

    Could not load dynamic library 'libcublas.so.10'; dlerror: libcublas.so.10: cannot open shared object file: No such file or directory;

  16. 16

    Unable to load shared library 'db2app64.dll'

  17. 17

    PHP Warning PHP Startup Unable to load dynamic library php_pdo_sqlsrv_7_ts_x64.dll

  18. 18

    Could not be located in dynamic link library php4ts.dll

  19. 19

    The ordinal 3283 could not be located in the dynamic link library libmysql.dll

  20. 20

    DLError (Exec format error) Ruby26-x64 trying to open python.dll

  21. 21

    vim could not load library python27.dll

  22. 22

    ImportError: DLL load failed: The specified module could not be found for numpy

  23. 23

    pyodbc ImportError: DLL load failed: The specified module could > not be found

  24. 24

    Python: ImportError: DLL load failed: The specified module could not be found

  25. 25

    Pycharm: DLL load failed: The specified procedure could not be found

  26. 26

    Tensorflow error : DLL load failed: The specified procedure could not be found

  27. 27

    PIL: DLL load failed: specified procedure could not be found

  28. 28

    ImportError: DLL load failed: The specified module could not be found

  29. 29

    ImportError: DLL load failed: The specified module could not be found

HotTag

Archive