Kaggle平台上运行TensorFlow时GPU利用率为0

**

待解决

**
今天在Kaggle上试一下TextCNN,涉及到TensorFlow。
但是训练模型时发现GPU利用率为0,而且整个过程非常慢。
在这里插入图片描述

隔壁的CPU都到顶了…
查了很多方法,说是和cuda版本不对应

  1. https://stackoverflow.com/questions/60208936/cannot-dlopen-some-gpu-libraries-skipping-registering-gpu-devices
  2. https://www.codenong.com/cs108869930/
  3. https://blog.csdn.net/u010165147/article/details/106354671

But,cuda也不是pip能装上的
在这里插入图片描述
官方说需要配置,区分Ubuntu和Windows,解决方法不一样,但是都要CUDA。
软件包版本:
在这里插入图片描述
软件要求:
在这里插入图片描述

试了TensorFlow-gpu 1.15.0 和TensorFlow 2.x 都有一下信息…
在这里插入图片描述

2022-02-19 14:27:11.312590: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1641] 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...
2022-02-19 14:27:11.312782: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1159] Device interconnect StreamExecutor with strength 1 edge matrix:
2022-02-19 14:27:11.312820: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1165]      0 
2022-02-19 14:27:11.312836: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1178] 0:   N 

整体信息是这样的:
在这里插入图片描述
不知道怎么肥四>_>

下面这位朋友也是这样:
kaggle中使用低版本的tensorflow时GPU占用率很低
在这里插入图片描述
Kaggle社区的Feedback

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值