当前位置:网站首页>third-party dynamic library (libcudnn.so) that Paddle depends on is not configured correctl
third-party dynamic library (libcudnn.so) that Paddle depends on is not configured correctl
2022-07-05 19:37:00 【u013250861】
Run the code of Baidu PaddlePaddle , Report the following error , And give tips , Is due to cuda Errors caused by not configuring well .
W0705 10:39:02.694573 2471961 gpu_context.cc:278] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 11.4, Runtime API Version: 11.2
W0705 10:39:02.694808 2471961 dynamic_loader.cc:305] The third-party dynamic library (libcudnn.so) that Paddle depends on is not configured correctly. (error code is /usr/local/cuda/lib64/libcudnn.so: cannot open shared object file: No such file or directory)
Suggestions:
1. Check if the third-party dynamic library (e.g. CUDA, CUDNN) is installed correctly and its version is matched with paddlepaddle you installed.
2. Configure third-party dynamic library environment variables as follows:
- Linux: set LD_LIBRARY_PATH by `export LD_LIBRARY_PATH=...`
- Windows: set PATH by `set PATH=XXX;

But the computer is installed paddle, And run successfully gpu Code , So it should be configured cuda and cudnn.
Solution steps (linux In the environment : Set up “LD_LIBRARY_PATH” Dynamic link library ):
- lookup Linux Ordinary users in their own Anaconda In the virtual environment directory cudnn
(paddle) [email protected]:~/anaconda3/envs/paddle/lib$ pwd /home/ninjia/anaconda3/envs/paddle/lib - stay /home/ninjia The configuration file under the directory
.bashrcperhaps.bash_profileAdd export sentence , The former in every login and every open shell Read once , The latter is read only once when logging in . My habit is to add ~/.bashrc in , At the end of the file , The following statement can be used to set“ Dynamic link library ” LD_LIBRARY_PATHtake effect :export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ninjia/anaconda3/envs/paddle/lib - After modification ,
source .bashrctake effect(base) [email protected]:~$ source .bashrc
LD_LIBRARY_PATH Detailed explanation
LD_LIBRARY_PATH Detailed explanation
LD_LIBRARY_PATH yes Linux Environment variable name , This environment variable is mainly used to specify the search of shared libraries ( Dynamic link library ) In addition to the default path .
Reference material :
PreconditionNotMetError: The third-party dynamic library (libcublas.so) that Paddle depends on is no
linux Of LD_LIBRARY_PATH Variable is set
Set up Linux Of LD_LIBRARY_PATH Variable
The third-party dynamic library (libcudnn.so) that Paddle depends on is not configured correctly
LD_LIBRARY_PATH Detailed explanation
边栏推荐
- webuploader文件上传 拖拽上传 进度监听 类型控制 上传结果监听控件
- Webuploader file upload drag upload progress monitoring type control upload result monitoring control
- HiEngine:可媲美本地的云原生内存数据库引擎
- 大厂面试必备技能,2022Android不死我不倒
- 测试的核心价值到底是什么?
- 建议收藏,我的腾讯Android面试经历分享
- 强化学习-学习笔记4 | Actor-Critic
- HAC cluster modifying administrator user password
- Shell编程基础(第8篇:分支语句-case in)
- 从零实现深度学习框架——LSTM从理论到实战【实战】
猜你喜欢

强化学习-学习笔记4 | Actor-Critic

IBM has laid off 40 + year-old employees in a large area. Mastering these ten search skills will improve your work efficiency ten times

Worthy of being a boss, byte Daniel spent eight months on another masterpiece
![[FAQ] summary of common causes and solutions of Huawei account service error 907135701](/img/1d/0e716533237c0e4463f5d6357395bd.png)
[FAQ] summary of common causes and solutions of Huawei account service error 907135701

XaaS 陷阱:万物皆服务(可能)并不是IT真正需要的东西

【FAQ】华为帐号服务报错 907135701的常见原因总结和解决方法

That's awesome. It's enough to read this article

Bitcoinwin (BCW)受邀参加Hanoi Traders Fair 2022
Mysql如何对json数据进行查询及修改

Oracle fault handling: ora-10873:file * needs to be either taken out of backup or media recovered
随机推荐
[FAQ] summary of common causes and solutions of Huawei account service error 907135701
HAC cluster modifying administrator user password
强化学习-学习笔记4 | Actor-Critic
redis集群模拟消息队列
【合集- 行业解决方案】如何搭建高性能的数据加速与数据编排平台
#夏日挑战赛#数据库学霸笔记,考试/面试快速复习~
[untitled]
Debezium系列之:修改源码支持unix_timestamp() as DEFAULT value
Android interview, Android audio and video development
众昂矿业:2022年全球萤石行业市场供给现状分析
Which securities company is better and which platform is safer for mobile account opening
面试官:Redis中集合数据类型的内部实现方式是什么?
建议收藏,我的腾讯Android面试经历分享
14、用户、组和权限(14)
从零实现深度学习框架——LSTM从理论到实战【实战】
Is it safe for Guohai Securities to open an account online?
Is it safe for China Galaxy Securities to open an account? Securities account opening
MMO項目學習一:預熱
数据库 逻辑处理功能
XaaS 陷阱:万物皆服务(可能)并不是IT真正需要的东西