相关疑难解决方法(0)

TensorFlow Bazel构建失败

我正在按照TensorFlow的bazel build -c opt --config=cuda //tensorflow/cc:tutorials_example_trainer指示使用Bazel构建TensorFlow,并根据来源的说明进行安装.

我收到以下错误:

    ERROR: /home/ubuntu/tensorflow/tensorflow/stream_executor/BUILD:5:1: C++ compilation of rule '//tensorflow/stream_executor:stream_e
xecutor' failed: crosstool_wrapper_driver_is_not_gcc failed: error executing command third_party/gpus/crosstool/clang/bin/crosstool
_wrapper_driver_is_not_gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -fPIE -Wall -Wunused-but-set-parameter -Wno-fr
ee-nonheap-object ... (remaining 87 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exite
d with status 1.   

tensorflow/stream_executor/cuda/cuda_dnn.cc: In function 'cudnnConvolutionFwdAlgo_t perftools::gputools::cuda::{anonymous}::ToConvF
orwardAlgo(perftools::gputools::dnn::AlgorithmType)':                                                                              
tensorflow/stream_executor/cuda/cuda_dnn.cc:269:10: error: 'CUDNN_CONVOLUTION_FWD_ALGO_FFT' was not declared in this scope         
     case CUDNN_CONVOLUTION_FWD_ALGO_FFT:  

...
Run Code Online (Sandbox Code Playgroud)

堆栈:运行Ubuntu 14.04.2的EC2 g2.8xlarge机器.Bazel版本0.1.5(已安装w/bazel-0.1.5-jdk7-installer-linux-x86_64.sh).

我尝试过Bazel 0.1.4和0.2.3,我得到了同样的错误.

bazel tensorflow

6
推荐指数
1
解决办法
3310
查看次数

标签 统计

bazel ×1

tensorflow ×1