2017-01-22 63 views
0

我目前有一些安装张量流与GPU支持问题。如何安装张量流gpu?

这是我遵循的指南。

  • 安装NVIDIA CUDA(预安装)
  • 安装NVIDIA cuDNN(预安装)
  • 安装巴泽勒

    wget https://github.com/bazelbuild/bazel/releases/download/0.4.3/bazel-0.4.3-installer-linux-x86_64.sh  
    chmod +x bazel-0.4.3-installer-linux-x86_64.sh 
    ./bazel-0.4.3-installer-linux-x86_64.sh --user 
    
  • 安装从源

    GIT中克隆张量流https://github.com/tensorflow/tensorflow

    CD tensorflow/

    的./configure

    巴泽勒建立-c选择--config = CUDA // tensorflow /工具/ pip_package:build_pip_package

最后一个没有完成..或者它..它在此之后一个错误信息

[email protected]:~/tensorflow$ bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package 

. 
WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing. 

Server finished RPC without an explicit exit code 

来了,我应该能够做到这一点

bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tenso 
rflow_pkg 

根据指南,但是不可能的。

我之前有张流CPU运行的版本,但由于GPU的需求进行了真诚的紧迫,我决定安装它......但没想到会是这样麻烦..

任何想法为什么不可能构建它?

操作系统:CentOS的7.1 GPU:nvidea

回答

0

我有问题,attemping从使用巴泽勒作为well.It源安装Tensorflow可能是当前巴泽尔打造了问题,因为在过去发生与如果你向我们提供了有关你的系统的信息(OS & GPU),但是你最好使用pip(或者pip3)并且使用sudo pip(3)安装tensorflow-gpu。

+0

PIP安装张流GPU不上我的哪为什么我在操作系统和Python版本,你使用的是哪个放在第一位 –

+0

做这方面的工作? – Laxius

+0

linux centos 7.1 –

相关问题