当前位置:网站首页>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
边栏推荐
- IFD-x 微型红外成像仪(模块)关于温度测量和成像精度的关系
- What do software test engineers do? How about the prospect of treatment?
- The city chain technology Digital Innovation Strategy Summit was successfully held
- [untitled]
- Two pits exported using easyexcel template (map empty data columns are disordered and nested objects are not supported)
- Oracle故障处理:Ora-10873:file * needs to be either taken out of backup or media recovered
- 面试官:Redis中集合数据类型的内部实现方式是什么?
- 【obs】QString的UTF-8中文转换到blog打印 UTF-8 char*
- S7-200SMART利用V90 MODBUS通信控制库控制V90伺服的具体方法和步骤
- 【AI 框架基础技术】自动求导机制 (Autograd)
猜你喜欢

Inventory of the most complete low code / no code platforms in the whole network: Jiandao cloud, partner cloud, Mingdao cloud, Qingliu, xurong cloud, Jijian cloud, treelab, nailing · Yida, Tencent clo
Django uses mysqlclient service to connect and write to the database

Postman core function analysis - parameterization and test report

Add data to excel small and medium-sized cases through poi

The relationship between temperature measurement and imaging accuracy of ifd-x micro infrared imager (module)

Common interview questions in Android, 2022 golden nine silver ten Android factory interview questions hit

2022 the latest big company Android interview real problem analysis, Android development will be able to technology
MySql中的longtext字段的返回问题及解决

JAD installation, configuration and integration idea
成功入职百度月薪35K,2022Android开发面试解答
随机推荐
IFD-x 微型红外成像仪(模块)关于温度测量和成像精度的关系
毫米波雷达人体感应器,智能感知静止存在,人体存在检测应用
Is it safe for Guohai Securities to open an account online?
14、用户、组和权限(14)
Debezium系列之:记录mariadb数据库删除多张临时表debezium解析到的消息以及解决方法
XaaS 陷阱:万物皆服务(可能)并不是IT真正需要的东西
Recommended collection, my Tencent Android interview experience sharing
HAC cluster modifying administrator user password
How to realize the Online timer and offline timer in the game
中国银河证券开户安全吗 证券开户
aggregate
PHP uses ueditor to upload pictures and add watermarks
Android面试,android音视频开发
手机股票开户安全吗?靠不靠谱啊?
Reflection and imagination on the notation like tool
测试外包公司怎么样?
Mariadb root用户及普通用户的密码 重置
【obs】libobs-winrt :CreateDispatcherQueueController
Vagrant2.2.6 supports virtualbox6.1
什么是面上项目