tensorflow Cannot dlopen some GPU libraries

tf.config.list_physical_devices('GPU')
2023-09-27 09:54:25.182349: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1850] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...

服务器配置:

pytorch: 2.0.1+cu117

Cuda: 11.7

Cudnn: 8500

Tensorflow: 2.13.0

后来发现是cudnn的库没配好:

在官网cuDNN Archive | NVIDIA Developer下载tar安装包,重新安装了cudnn的库cudnn-linux-x86_64-8.6.0.163_cuda10-archive(安装步骤参照Installation Guide - NVIDIA Docs

就解决了

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值