【发布时间】:2018-09-26 19:31:09
【问题描述】:
我一直在尝试从源代码安装 Tensorflow,但出现此错误:
Error limit reached.
100 errors detected in the compilation of "/tmp/tmpxft_000076fb_00000000-7_scatter_nd_op_gpu.cu.cpp1.ii".
Compilation terminated.
ERROR: /home/rosgori/Python/tengpu/tensorflow/tensorflow/core/kernels/BUILD:4149:1: output 'tensorflow/core/kernels/_objs/scatter_nd_op_gpu/tensorflow/core/kernels/scatter_nd_op_gpu.cu.o' was not created
ERROR: /home/rosgori/Python/tengpu/tensorflow/tensorflow/core/kernels/BUILD:4149:1: not all outputs were created or valid
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 667.700s, Critical Path: 71.44s
FAILED: Build did NOT complete successfully
系统信息
- 我是否编写了自定义代码(而不是使用 TensorFlow 中提供的股票示例脚本):否
- 操作系统平台和发行版(例如,Linux Ubuntu 16.04):Ubuntu 16.04
- TensorFlow 安装自(源代码或二进制文件):源代码
- TensorFlow 版本(使用下面的命令):master
- Python 版本:3.6.4
- Bazel 版本(如果从源代码编译):0.12.0
- GCC/编译器版本(如果从源代码编译):5.4.0
- CUDA/cuDNN 版本:8.0 / 7.0
- GPU 型号和内存:GeForce GT 740M; 2004MiB
复制的确切命令:
bazel build --verbose_failures -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-msse4.1 --copt=-msse4.2 --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
当我说master时,我没有使用r1.8或r1.7。
master 的时间戳:
from datetime import datetime
datetime.utcnow()
我得到:datetime.datetime(2018, 4, 16, 23, 30, 23, 844800)
所以我的问题是:
那个错误是什么意思?可以修吗?
编辑
有时我会明白:
20 errors detected in the compilation of "/tmp/tmpxft_000016a4_00000000-7_gather_functor_gpu.cu.cpp1.ii".
ERROR: /home/rosgori/Python/tengpu/tensorflow/tensorflow/core/kernels/BUILD:1208:1: output 'tensorflow/core/kernels/_objs/gather_functor_gpu/tensorflow/core/kernels/gather_functor_gpu.cu.o' was not created
ERROR: /home/rosgori/Python/tengpu/tensorflow/tensorflow/core/kernels/BUILD:1208:1: not all outputs were created or valid
Target //tensorflow/tools/pip_package:build_pip_package failed to build
INFO: Elapsed time: 157.766s, Critical Path: 35.22s
FAILED: Build did NOT complete successfully
【问题讨论】:
标签: python tensorflow