简体   繁体   English

Tensorflow-gpu 不适用于 Nvidia 驱动程序 455.45 和 CUDA 版本 - UBUNTU 20.04 上的 11.1

[英]Tensorflow-gpu doesn't working with Nvidia driver 455.45 & CUDA version - 11.1 on UBUNTU 20.04

I'm trying to install the latest version of TensorFlow 2 using pip install tensorflow as of mentioned in official website .我正在尝试使用官方网站中提到的pip install tensorflow安装最新版本的 TensorFlow 2 。 I've the latest version of Ubuntu 20.04 LTS .我有最新版本的Ubuntu 20.04 LTS And my laptop has Nvidia GeForce GTX 1050ti graphics card.我的笔记本电脑有Nvidia GeForce GTX 1050ti显卡。 But when I install Nvidia driver, it only installs the latest version - 455.45 and its CUDA version - 11.1.但是当我安装 Nvidia 驱动程序时,它只安装最新版本 - 455.45 及其CUDA 版本 - 11.1。

Then I installed cuda-toolkit 10.1 and CuDNN7.6.然后我安装了 cuda-toolkit 10.1 和 CuDNN7.6。 But still TensorFlow doesn't detect GPU on my system.但是 TensorFlow 在我的系统上仍然没有检测到 GPU。

Help me to install TensorFlow on the latest version of Ubuntu and Nvidia Driver.帮我在最新版本的Ubuntu和Nvidia驱动上安装TensorFlow。

If you find any blogpost which shows the proper way to install it, please share it.如果您发现任何显示正确安装方法的博文,请分享。 Thank you.谢谢你。

Just simply do a clean install of CUDA (First delete all of its traces and then try to reinstall the correct version, which is 10.1 ).只需简单地安装 CUDA (首先删除其所有痕迹,然后尝试重新安装正确的版本,即10.1 )。

OR:- you can install Miniconda or Anaconda on your computer and then run this command on cmd :-或者:-您可以在您的计算机上安装 Miniconda 或 Anaconda,然后在cmd上运行此命令:-

conda create --name tf_gpu tensorflow-gpu

which would automatically download and install all the correct software needed to run TensorFlow on GPU.这将自动下载并安装在 GPU 上运行 TensorFlow 所需的所有正确软件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 tensorflow-gpu conda 环境不适用于 ubuntu-20.04 - tensorflow-gpu conda environment not working on ubuntu-20.04 tensorflow-gpu 2.2 适用于 CUDA 10.2 但需要 cuDNN 7.6.4,它在 NVIDIA 存档中没有 CUDA 10.2 的下载文件 - tensorflow-gpu 2.2 works with CUDA 10.2 but requires cuDNN 7.6.4 which doesn't have a download file in NVIDIA archive for CUDA 10.2 system76 ubuntu 20.04 tensorflow gpu Z39466FE22B062A384CFE09F3CC8Z2C版本冲突 - system76 ubuntu 20.04 tensorflow gpu cuda version conflicts 尝试安装 tensorflow-gpu 但出现此错误:CUDA 驱动程序版本不足以用于 CUDA 运行时版本 - Trying to install tensorflow-gpu but got this error: CUDA driver version is insufficient for CUDA runtime version 无法获得卷积算法错误 ~ tensorflow-gpu on ubuntu 20.04 - Failed to get convolution algorithm error ~ tensorflow-gpu on ubuntu 20.04 CUDA 和 CUDAtoolkit TensorFlow 在 wsl2 ubuntu 20.04 中启用了 gpu - CUDA and CUDAtoolkit TensorFlow in wsl2 ubuntu 20.04 with gpu enabled 为什么在 Ubuntu 19.10 中安装 tensorflow-gpu 后 tensorflow 不起作用? - Why tensorflow not working after installing tensorflow-gpu in Ubuntu 19.10? Tensorflow-GPU 不使用 GPU 和 CUDA,CUDNN - Tensorflow-GPU not using GPU with CUDA,CUDNN Tensorflow-gpu 似乎没有看到我的 gpu - Tensorflow-gpu doesn't seem to see my gpu tensorflow-gpu-pycharm无法识别GPU - tensorflow-gpu - pycharm doesn't recognize GPU
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM