tanjeffreyz / auto-maple

Artificial intelligence software for MapleStory that uses various machine learning and computer vision techniques to navigate challenging in-game environments
468 stars 235 forks source link

Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found #131

Closed thisisnotmychair999 closed 1 year ago

thisisnotmychair999 commented 2 years ago

The bot works in a limited setting on CPU.

Even after installing (cuda_11.7)/(cudnn 8.5) I'm unable to use the GPU (3060 Ti/CUDA compatible).

Can anyone help me? Suspecting wrong directories? bad PATH? Though it says the .dll's (cudart64_110.dll) can't be found you can see it exists within my CUDA directory. Auto maple lives in C:\Users\Admin\Downloads\auto-maple-2.3.4\auto-maple-2.3.4 Installed tensorflow using pip install tensorflow. Tensorflow version: 2.9.1

Been wrangling over this for a long time and can't figure it out.

[Click]Auto Maple Startup Error Trace: ``` 2022-08-18 17:51:28.080075: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2022-08-18 17:51:28.080162: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. pygame 2.1.2 (SDL 2.0.18, Python 3.10.6) Hello from the pygame community. https://www.pygame.org/contribute.html [~] Retrieving latest submodules: - Updated submodule 'resources', restored local changes [~] Started main bot loop [~] Initializing detection algorithm: 2022-08-18 17:51:40.944371: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2022-08-18 17:51:40.944651: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublas64_11.dll'; dlerror: cublas64_11.dll not found 2022-08-18 17:51:40.944844: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cublasLt64_11.dll'; dlerror: cublasLt64_11.dll not found 2022-08-18 17:51:40.945025: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cufft64_10.dll'; dlerror: cufft64_10.dll not found 2022-08-18 17:51:40.945187: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'curand64_10.dll'; dlerror: curand64_10.dll not found 2022-08-18 17:51:40.945351: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusolver64_11.dll'; dlerror: cusolver64_11.dll not found 2022-08-18 17:51:40.945510: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cusparse64_11.dll'; dlerror: cusparse64_11.dll not found 2022-08-18 17:51:40.945752: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found 2022-08-18 17:51:40.946110: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] 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... 2022-08-18 17:51:40.948105: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. [~] Initialized detection algorithm [~] Started video capture ```
[Click]Directory of C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.7\bin ``` 08/18/2022 05:22 PM . 08/18/2022 05:22 PM .. 06/08/2022 08:38 PM 228,352 bin2c.exe 12/16/2021 10:20 PM 66 compute-sanitizer.bat 08/07/2022 05:12 PM crt 05/19/2022 10:26 PM 201,728 cu++filt.exe 05/19/2022 11:38 PM 144,226,816 cublas64_11.dll 05/19/2022 11:38 PM 305,816,064 cublasLt64_11.dll 05/19/2022 10:41 PM 359,936 cuda-memcheck.exe 06/08/2022 08:38 PM 6,136,832 cudafe++.exe 06/08/2022 08:38 PM 459,264 cudart32_110.dll 06/08/2022 08:38 PM 518,144 cudart64_110.dll 08/07/2022 05:29 PM cudnn-windows-x86_64-8.4.1.50_cuda11.6-archive 08/18/2022 05:18 PM 229,376 cudnn64_8.dll 08/18/2022 05:18 PM 114,182,144 cudnn_adv_infer64_8.dll 08/18/2022 05:18 PM 96,299,520 cudnn_adv_train64_8.dll 08/18/2022 05:18 PM 424,401,920 cudnn_cnn_infer64_8.dll 08/18/2022 05:18 PM 70,709,248 cudnn_cnn_train64_8.dll 08/18/2022 05:18 PM 90,366,976 cudnn_ops_infer64_8.dll 08/18/2022 05:18 PM 67,440,128 cudnn_ops_train64_8.dll 05/19/2022 11:03 PM 361,509,376 cufft64_10.dll 05/19/2022 11:03 PM 289,792 cufftw64_10.dll 07/12/2022 03:00 PM 1,313,280 cuinj64_117.dll 05/19/2022 10:26 PM 2,987,008 cuobjdump.exe 05/19/2022 10:40 PM 61,408,768 curand64_10.dll 05/20/2022 01:01 AM 230,535,680 cusolver64_11.dll 05/20/2022 01:01 AM 139,200,000 cusolverMg64_11.dll 05/19/2022 10:49 PM 237,271,552 cusparse64_11.dll 06/08/2022 08:38 PM 369,152 fatbinary.exe 05/19/2022 11:13 PM 276,480 nppc64_11.dll 05/19/2022 11:13 PM 13,120,512 nppial64_11.dll 05/19/2022 11:13 PM 4,995,072 nppicc64_11.dll 05/19/2022 11:13 PM 8,504,832 nppidei64_11.dll 05/19/2022 11:13 PM 89,615,360 nppif64_11.dll 05/19/2022 11:13 PM 30,279,680 nppig64_11.dll 05/19/2022 11:13 PM 7,096,832 nppim64_11.dll 05/19/2022 11:13 PM 32,824,320 nppist64_11.dll 05/19/2022 11:13 PM 249,344 nppisu64_11.dll 05/19/2022 11:13 PM 3,172,864 nppitc64_11.dll 05/19/2022 11:13 PM 15,846,912 npps64_11.dll 05/19/2022 11:38 PM 345,088 nvblas64_11.dll 06/08/2022 08:38 PM 5,426,688 nvcc.exe 06/08/2022 08:38 PM 334 nvcc.profile 05/19/2022 10:26 PM 33,526,784 nvdisasm.exe 05/19/2022 10:50 PM 3,500,032 nvjpeg64_11.dll 06/08/2022 08:38 PM 9,411,072 nvlink.exe 07/12/2022 03:00 PM 2,191,872 nvprof.exe 05/19/2022 10:26 PM 250,368 nvprune.exe 06/08/2022 08:38 PM 7,259,136 nvrtc-builtins64_117.dll 06/08/2022 08:38 PM 33,909,248 nvrtc64_112_0.dll 07/12/2022 04:44 PM 129 nvvp.bat 06/08/2022 08:38 PM 9,044,992 ptxas.exe 06/08/2022 08:38 PM 220,672 __nvcc_device_query.exe ```

Here's what my env variables look like/where CUDA is installed. image

rbongocat commented 2 years ago

https://stackoverflow.com/questions/66083545/could-not-load-dynamic-library-cudnn64-8-dll-dlerror-cudnn64-8-dll-not-found