2017-01-22 60 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 –

相關問題