【问题标题】:Could not load dynamic library 'cupti64_101.dll'; dlerror: cupti64_101.dll not found无法加载动态库“cupti64_101.dll”; dlerror: cupti64_101.dll 未找到
【发布时间】: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

File of course installed

【问题讨论】:

  • 根据您安装 TF 的方式,PATH 也必须在您的虚拟环境中更新。见here
  • @RobertCrovella,我用pip install安装了它
  • 那么你可能需要在你的python虚拟环境中更新PATH。
  • 您能告诉我如何更新虚拟环境的 PATH 吗?

标签: python windows tensorflow pycharm tensorflow2.0


【解决方案1】:

更新了虚拟环境中的 PATH,现在可以使用了)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-11-23
    • 1970-01-01
    • 2021-11-14
    • 2021-04-12
    • 2021-07-25
    • 2020-11-21
    • 2014-11-08
    • 1970-01-01
    相关资源
    最近更新 更多