Tensorflow 警告 - 无法加载动态库“cupti64_101.dll";dlerror: 找不到 cupti64_101.dll [英] Tensorflow Warning - Could not load dynamic library 'cupti64_101.dll'; dlerror: cupti64_101.dll not found
问题描述
我见过其他与 cupti dll 错误相关的类似问题.但是,答案似乎是 dll 位置需要在路径中.好吧,我的dll在路径中.标题中列出的警告之后是几个与未加载 cupti dll 的事实相关的错误.
I've seen other similar issues related to cupti dll error. However, the answer seems to be that the dll location needs to be in the path. Well, my dll is in the path. The warning listed in the title is followed by several errors related to the fact that the cupti dll was not loaded.
(venv) PS D:\Projects\tensorboard> $env:path -split ";"
D:\Projects\tensorboard\venv/Scripts
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\libnvvp
C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Program Files\Microsoft VS Code\bin
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\CUPTI\libx64
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include
C:\Program Files\Git\cmd C:\Program Files\NVIDIA Corporation\Nsight Compute 2019.4.0\
C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR C:\Users\Mark\AppData\Local\Programs\Python\Python37\Scripts\ C:\Users\Mark\AppData\Local\Programs\Python\Python37\
C:\Users\Mark\AppData\Local\Microsoft\WindowsApps
(venv) PS D:\Projects\tensorboard>
Configuration:
Windows 10 Pro Version 1909
Python 3.7.7
Tensorflow 2.2.0
Tensorboard 2.2.1
cuda toolkit 10.1
这是几个警告/错误消息的快照.还有几个紧随其后.
Here is a snapshot of a couple of the warning/error messages. Several more followed these.
2020-05-10 00:48:37.426822: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cupti64_101.dll'; dlerror: cupti64_101.dll not found
2020-05-10 00:48:37.432568: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1408] function cupti_interface_->Subscribe( &subscriber_, (CUpti_CallbackFunc)ApiCallback, this)failed with error CUPTI could not be loaded or symbol could not be found.
推荐答案
在此处提供解决方案(答案部分),即使它出现在评论部分中,也是为了社区的利益.
Providing the solution here (Answer Section), even though it is present in the Comment Section, for the benefit of the community.
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\CUPTI\libx64
中没有 cupti64_101.dll
文件.
由于这个无法加载动态库'cupti64_101.dll';dlerror: cupti64_101.dll not found
在尝试运行 Tensorflow 时出现警告.
Due to this Could not load dynamic library 'cupti64_101.dll'; dlerror: cupti64_101.dll not found
warning has appeared when ever trying to run Tensorflow.
一旦将 cupti64_101.dll
复制到上述位置,问题就解决了.
Once cupti64_101.dll
copied to the above location, issue has resolved.
这篇关于Tensorflow 警告 - 无法加载动态库“cupti64_101.dll";dlerror: 找不到 cupti64_101.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!