【发布时间】:2020-09-04 17:49:34
【问题描述】:
Nvidia Cuda 有一些问题,安装了带有 tensorflow 2.2.0 的 v10.1,但有 'cupti64_101.dll 警告。
2020-05-18 22:26:25.054229: 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-18 22:26:25.054229: 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.
2020-05-18 22:26:25.054412: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1447] function cupti_interface_->ActivityRegisterCallbacks( AllocCuptiActivityBuffer, FreeCuptiActivityBuffer)failed with error CUPTI could not be loaded or symbol could not be found.
2020-05-18 22:26:25.054619: E tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1430] function cupti_interface_->EnableCallback( 0 , subscriber_, CUPTI_CB_DOMAIN_DRIVER_API, cbid)failed with error CUPTI could not be loaded or symbol could not be found.
PATH 也可以:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\CUPTI\lib64
【问题讨论】:
-
根据您安装 TF 的方式,PATH 也必须在您的虚拟环境中更新。见here。
-
@RobertCrovella,我用
pip install安装了它 -
那么你可能需要在你的python虚拟环境中更新PATH。
-
您能告诉我如何更新虚拟环境的 PATH 吗?
标签: python windows tensorflow pycharm tensorflow2.0