如何使tensorflow在具有2.x功能的GPU上运行? [英] How can I make tensorflow run on a GPU with capability 2.x?

查看:898
本文介绍了如何使tensorflow在具有2.x功能的GPU上运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Linux Ubuntu 16.04上成功安装了tensorflow(GPU),并进行了一些小改动,以便使其能够与新的Ubuntu LTS版本一起使用。

I've successfully installed tensorflow (GPU) on Linux Ubuntu 16.04 and made some small changes in order to make it work with the new Ubuntu LTS release.

但是,我以为(谁知道为什么)我的GPU满足了计算能力大于3.5的最低要求。情况并非如此,因为我的 GeForce 820M 只有2.1。我可以问这个问题,因为显然没有办法在Ubuntu 16.04上运行tensorflow GPU版本,但是我可以问这个问题吗?

However, I thought (who knows why) that my GPU met the minimum requirement of a compute capability greater than 3.5. That was not the case since my GeForce 820M has just 2.1. Is there a way of making tensorflow GPU version working with my GPU?

通过搜索互联网,我发现情况并非如此,如果不是因为这种不满意的要求,我的确可以做到。现在我想知道是否也可以解决与GPU计算功能有关的问题。

I am asking this question since apparently there was no way of making tensorflow GPU version working on Ubuntu 16.04 but by searching the internet I found out that was not the case and indeed I made it almost work were it not for this unsatisfied requirement. Now I am wondering if this issue with GPU compute capability could be fixed as well.

推荐答案

tensorflow的最新GPU版本要求计算能力为3.5或更高版本(并使用cuDNN访问GPU。

Recent GPU versions of tensorflow require compute capability 3.5 or higher (and use cuDNN to access the GPU.

cuDNN 也需要cc3.0或更高版本的GPU


cuDNN在具有Pascal,Kepler,Maxwell,Tegra K1或Tegra X1 GPU的Windows,Linux和MacOS系统上受支持。

cuDNN is supported on Windows, Linux and MacOS systems with Pascal, Kepler, Maxwell, Tegra K1 or Tegra X1 GPUs.




  • 开普勒= cc3.x

  • 麦克斯韦= cc5.x

  • Pascal = cc6.x

  • TK1 = cc3.2

  • TX1 = cc5.3

    • Kepler = cc3.x
    • Maxwell = cc5.x
    • Pascal = cc6.x
    • TK1 = cc3.2
    • TX1 = cc5.3
    • cuDNN不支持Fermi GPU(cc2.0,cc2.1)。

      Fermi GPUs (cc2.0, cc2.1) are not supported by cuDNN.

      旧GPU( cuDNN也不支持例如计算能力1.x)。

      Older GPUs (e.g. compute capability 1.x) are also not supported by cuDNN.

      请注意,其中有 n 是cuDNN的版本,还是正式支持cc3.0以下的NVIDIA GPU的TF的任何版本。 cuDNN的初始版本始于需要cc3.0 GPU,而TF的初始版本始于需要cc3.0 GPU。

      Note that there has never been either a version of cuDNN or any version of TF that officially supported NVIDIA GPUs less than cc3.0. The initial version of cuDNN started out by requiring cc3.0 GPUs, and the initial version of TF started out by requiring cc3.0 GPUs.

      这篇关于如何使tensorflow在具有2.x功能的GPU上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆