当前位置:网站首页>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
边栏推荐
- third-party dynamic library (libcudnn.so) that Paddle depends on is not configured correctl
- Necessary skills for interview in large factories, 2022android will not die, I will not fall
- 集合
- Shell编程基础(第8篇:分支语句-case in)
- C application interface development foundation - form control (5) - grouping control
- 100million single men and women supported an IPO with a valuation of 13billion
- vagrant2.2.6支持virtualbox6.1版本
- PHP uses ueditor to upload pictures and add watermarks
- Oracle fault handling: ora-10873:file * needs to be either taken out of backup or media recovered
- HiEngine:可媲美本地的云原生内存数据库引擎
猜你喜欢
PHP uses ueditor to upload pictures and add watermarks

JMeter 常用的几种断言方法,你会了吗?

Webuploader file upload drag upload progress monitoring type control upload result monitoring control
![[AI framework basic technology] automatic derivation mechanism (autograd)](/img/9c/a5713def131dc7643cc19b3839ff0c.png)
[AI framework basic technology] automatic derivation mechanism (autograd)

Go语言 | 02 for循环及常用函数的使用

【硬核干货】数据分析哪家强?选Pandas还是选SQL

建议收藏,我的腾讯Android面试经历分享
Django uses mysqlclient service to connect and write to the database

Force buckle 729 My schedule I
Successful entry into Baidu, 35K monthly salary, 2022 Android development interview answer
随机推荐
Float.floatToRawIntBits的返回值具体意思,将float转为byte数组
【obs】libobs-winrt :CreateDispatcherQueueController
618“低调”谢幕,百秋尚美如何携手品牌跨越“不确定时代”?
Postman核心功能解析-参数化和测试报告
信息/数据
Go语言 | 03 数组、指针、切片用法
PG basics -- Logical Structure Management (user and permission management)
Millimeter wave radar human body sensor, intelligent perception of static presence, human presence detection application
Fundamentals of machine learning (III) -- KNN / naive Bayes / cross validation / grid search
国海证券在网上开户安全吗?
The city chain technology Digital Innovation Strategy Summit was successfully held
【obs】QString的UTF-8中文转换到blog打印 UTF-8 char*
Django使用mysqlclient服务连接并写入数据库的操作过程
Explain in detail the functions and underlying implementation logic of the groups sets statement in SQL
[untitled]
Microwave radar induction module technology, real-time intelligent detection of human existence, static micro motion and static perception
Hiengine: comparable to the local cloud native memory database engine
third-party dynamic library (libcudnn.so) that Paddle depends on is not configured correctl
The relationship between temperature measurement and imaging accuracy of ifd-x micro infrared imager (module)
关于 Notion-Like 工具的反思和畅想