我已經達到Tensorflow 0.9教程的Setting up TensorFlow for Development部分,並且在嘗試添加對GPU的支持時出現錯誤。構建pip時出現GPU支持時出現錯誤
\> bazel build -c opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
ERROR: /home/.../tensorflow/tensorflow/core/kernels/BUILD:1489:1: undeclared inclusion(s) in rule '//tensorflow/core/kernels:batchtospace_op_gpu': this rule is missing dependency declarations for the following files included by 'tensorflow/core/kernels/batchtospace_op_gpu.cu.cc'
如果我排除--config=cuda
指令我沒有得到這個錯誤,但是。
設置:
基本OS 0.3
tensorflow 0.9
CUDA-7.5
cudnn 5.0.5
GCC 4.8.4