tensorflow的cuba错误

在Lenovo T14笔记本上,由于配备的是Intel显卡,无法支持CUDA环境搭建。为解决这个问题,可以使用脚本禁用GPU,设置环境变量CUDA_VISIBLE_DEVICES=-1。此外,介绍了如何卸载TensorFlow的CPU版本并安装GPU版本。
摘要由CSDN通过智能技术生成

2021-12-15 16:36:54.995706: E tensorflow/stream_executor/cuda/cuda_driver.cc:271] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
2021-12-15 16:36:54.995795: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ethan-ThinkPad-T14-Gen-1): /proc/driver/nvidia/version does not exist
2021-12-15 16:36:54.996683: I tensorflow/core/platform/cpu_feature_guard.cc:151] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

 电脑的配置:Lenovo T14,显卡是Intel

CUDA环境搭建必须是nvidia(gpu)显卡,所以用GPU-Z工具来测试一下,我得到的测试结果是

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

芯片-嵌入式

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值