Closed beew closed 5 years ago
@beew TF 1.13 rc2 comes with pre built binaries for cuda 10 where as TF 1.12 supports cuda 9. To use cuda 10 against TF 1.12, you have to build TF from sources yourself. Thanks!
@ymodak
I am building from source myself. Please read OP and reopen the issue if there is no solution, thanks.
System information
OS Platform and Distribution: Linux Ubuntu 16.04
TensorFlow installed from (source or binary): source
TensorFlow version: 1.12.0
Python version: 3.5.2
Installed using virtualenv? pip? conda?: python3 from system
Bazel version (if compiling from source): 0.18, 0.17
GCC/Compiler version (if compiling from source): 5.4.0
CUDA/cuDNN version: cuda10.0, cuDNN 7.4.2
GPU model and memory: Nvidia GTX1070 Build failed with
WARNING: Processed legacy workspace file /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tools/bazel.rc. This file will not be processed in the next release of Bazel. Please read https://github.com/bazelbuild/bazel/issues/6319 for further information, including how to upgrade. WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior. DEBUG: /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:115:5: Auto-Configuration Warning: 'TMP' environment variable is not set, using 'C:\Windows\Temp' as default WARNING: /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_common.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_decode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/external/grpc/BUILD:1992:1: in srcs attribute of cc_library rule @grpc//:grpc_nanopb: please do not import '@grpc//third_party/nanopb:pb_encode.c' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'grpc_generate_one_off_targets', the error might have been caused by the macro implementation in /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/external/grpc/bazel/grpc_build_system.bzl:172:12 WARNING: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:exporter': No longer supported. Switch to SavedModel immediately. WARNING: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/contrib/learn/BUILD:17:1: in py_library rule //tensorflow/contrib/learn:learn: target '//tensorflow/contrib/learn:learn' depends on deprecated target '//tensorflow/contrib/session_bundle:gc': No longer supported. Switch to SavedModel immediately. WARNING: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/contrib/seq2seq/BUILD:23:1: in py_library rule //tensorflow/contrib/seq2seq:seq2seq_py: target '//tensorflow/contrib/seq2seq:seq2seq_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage of
tf.contrib.distributions
totfp.distributions
. WARNING: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:230:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:filtering_postprocessor' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage oftf.contrib.distributions
totfp.distributions
. WARNING: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD:73:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter: target '//tensorflow/contrib/timeseries/python/timeseries/state_space_models:kalman_filter' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage oftf.contrib.distributions
totfp.distributions
. WARNING: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/contrib/timeseries/python/timeseries/BUILD:354:1: in py_library rule //tensorflow/contrib/timeseries/python/timeseries:ar_model: target '//tensorflow/contrib/timeseries/python/timeseries:ar_model' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage oftf.contrib.distributions
totfp.distributions
. WARNING: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/contrib/bayesflow/BUILD:17:1: in py_library rule //tensorflow/contrib/bayesflow:bayesflow_py: target '//tensorflow/contrib/bayesflow:bayesflow_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage oftf.contrib.distributions
totfp.distributions
. WARNING: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/contrib/BUILD:13:1: in py_library rule //tensorflow/contrib:contrib_py: target '//tensorflow/contrib:contrib_py' depends on deprecated target '//tensorflow/contrib/distributions:distributions_py': TensorFlow Distributions has migrated to TensorFlow Probability (https://github.com/tensorflow/probability). Deprecated copies remaining in tf.contrib.distributions are unmaintained, unsupported, and will be removed by late 2018. You should update all usage oftf.contrib.distributions
totfp.distributions
. INFO: Analysed target //tensorflow/tools/pip_package:build_pip_package (0 packages loaded). INFO: Found 1 target... ERROR: /home/bernard/opt/cuda_test/cuda10/tensorflow-1.12.0/tensorflow/BUILD:533:1: Executing genrule //tensorflow:tf_python_api_gen_v1 failed (Aborted): bash failed: error executing command (cd /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/execroot/org_tensorflow && \ exec env - \ CUDA_TOOLKIT_PATH=/home/bernard/opt/cuda_test/cuda10/cuda \ CUDNN_INSTALL_PATH=/home/bernard/opt/cuda_test/cuda10/cuda \ GCC_HOST_COMPILER_PATH=/usr/bin/gcc \ LD_LIBRARY_PATH=/home/bernard/opt/cuda_test/cuda10/opencv/lib:/home/bernard/opt/cuda_test/cuda10/openmpi/lib:/home/bernard/opt/cuda_test/cuda10/lib:/home/bernard/opt/cuda_test/cuda10/cuda/lib64:/home/bernard/opt/cuda_test/cuda10/cuda/extras/CUPTI/lib64:/home/bernard/opt/cuda_test/cuda10/lib::/home/bernard/opt/cuda_test/cuda10/TensorRT/lib \ NCCL_HDR_PATH=/usr/local/cuda-9.2/targets/x86_64-linux/lib/../include \ NCCL_INSTALL_PATH=/usr/local/cuda-9.2/targets/x86_64-linux/lib \ PATH=/home/bernard/opt/cuda_test/cuda10/opencv/bin:/home/bernard/opt/cuda_test/cuda10/openmpi/bin:/home/bernard/opt/cuda_test/cuda10/cuda/bin:/home/bernard/opt/cuda_test/cuda10/bin:/opt/openmpi-cuda/bin:/usr/local/cuda/bin:/home/bernard/bin:/home/bernard/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/bernard/opt/qt5/bin:/home/bernard/opt/opencv/bin \ PYTHON_BIN_PATH=/usr/bin/python3 \ PYTHON_LIB_PATH=/home/bernard/opt/cuda_test/cuda10/lib/python3.5/site-packages \ TENSORRT_INSTALL_PATH=/home/bernard/opt/cuda_test/cuda10/TensorRT/targets/x86_64-linux-gnu/lib \ TF_CUDA_CLANG=0 \ TF_CUDA_COMPUTE_CAPABILITIES=6.1 \ TF_CUDA_VERSION=10.0 \ TF_CUDNN_VERSION=7 \ TF_NCCL_VERSION=2 \ TF_NEED_CUDA=1 \ TF_NEED_OPENCL_SYCL=0 \ TF_NEED_ROCM=0 \ TF_TENSORRT_VERSION=5.0.2 \ /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/tensorflow/create_tensorflow.python_api_1 --root_init_template=tensorflow/api_template.init.py --apidir=bazel-out/k8-opt/genfiles/tensorflow_api/v1/ --apiname=tensorflow --apiversion=1 --package=tensorflow.python --output_package=tensorflow._api.v1 bazel-out/k8-opt/genfiles/tensorflow/_api/v1/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/app/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/bitwise/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/compat/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/data/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/data/experimental/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/debugging/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/distributions/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/dtypes/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/errors/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/feature_column/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/gfile/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/graph_util/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/image/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/io/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/initializers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/activations/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/densenet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/inception_resnet_v2/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/inception_v3/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/mobilenet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/mobilenet_v2/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/nasnet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/resnet50/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/vgg16/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/vgg19/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/xception/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/backend/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/callbacks/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/constraints/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/boston_housing/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/cifar10/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/cifar100/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/fashion_mnist/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/imdb/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/mnist/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/reuters/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/estimator/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/initializers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/layers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/losses/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/metrics/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/models/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/optimizers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/image/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/sequence/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/text/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/regularizers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/wrappers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/wrappers/scikit_learn/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/layers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/linalg/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/logging/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/losses/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/manip/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/math/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/metrics/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/nn/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/nn/rnn_cell/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/profiler/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/python_io/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/quantization/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/random/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/resource_loader/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/strings/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/builder/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/loader/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/main_op/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/signature_constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/signature_def_utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/tag_constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sets/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sparse/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/spectral/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/summary/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sysconfig/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/test/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/train/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/train/queue_runner/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/user_ops/init.py'): bash failed: error executing command (cd /home/bernard/.cache/bazel/_bazel_bernard/8b714e31638c9283b6c7060cf778d169/execroot/org_tensorflow && \ exec env - \ CUDA_TOOLKIT_PATH=/home/bernard/opt/cuda_test/cuda10/cuda \ CUDNN_INSTALL_PATH=/home/bernard/opt/cuda_test/cuda10/cuda \ GCC_HOST_COMPILER_PATH=/usr/bin/gcc \ LD_LIBRARY_PATH=/home/bernard/opt/cuda_test/cuda10/opencv/lib:/home/bernard/opt/cuda_test/cuda10/openmpi/lib:/home/bernard/opt/cuda_test/cuda10/lib:/home/bernard/opt/cuda_test/cuda10/cuda/lib64:/home/bernard/opt/cuda_test/cuda10/cuda/extras/CUPTI/lib64:/home/bernard/opt/cuda_test/cuda10/lib::/home/bernard/opt/cuda_test/cuda10/TensorRT/lib \ NCCL_HDR_PATH=/usr/local/cuda-9.2/targets/x86_64-linux/lib/../include \ NCCL_INSTALL_PATH=/usr/local/cuda-9.2/targets/x86_64-linux/lib \ PATH=/home/bernard/opt/cuda_test/cuda10/opencv/bin:/home/bernard/opt/cuda_test/cuda10/openmpi/bin:/home/bernard/opt/cuda_test/cuda10/cuda/bin:/home/bernard/opt/cuda_test/cuda10/bin:/opt/openmpi-cuda/bin:/usr/local/cuda/bin:/home/bernard/bin:/home/bernard/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/home/bernard/opt/qt5/bin:/home/bernard/opt/opencv/bin \ PYTHON_BIN_PATH=/usr/bin/python3 \ PYTHON_LIB_PATH=/home/bernard/opt/cuda_test/cuda10/lib/python3.5/site-packages \ TENSORRT_INSTALL_PATH=/home/bernard/opt/cuda_test/cuda10/TensorRT/targets/x86_64-linux-gnu/lib \ TF_CUDA_CLANG=0 \ TF_CUDA_COMPUTE_CAPABILITIES=6.1 \ TF_CUDA_VERSION=10.0 \ TF_CUDNN_VERSION=7 \ TF_NCCL_VERSION=2 \ TF_NEED_CUDA=1 \ TF_NEED_OPENCL_SYCL=0 \ TF_NEED_ROCM=0 \ TF_TENSORRT_VERSION=5.0.2 \ /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; bazel-out/host/bin/tensorflow/create_tensorflow.python_api_1 --root_init_template=tensorflow/api_template.init.py --apidir=bazel-out/k8-opt/genfiles/tensorflow_api/v1/ --apiname=tensorflow --apiversion=1 --package=tensorflow.python --output_package=tensorflow._api.v1 bazel-out/k8-opt/genfiles/tensorflow/_api/v1/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/app/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/bitwise/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/compat/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/data/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/data/experimental/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/debugging/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/distributions/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/dtypes/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/errors/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/feature_column/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/gfile/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/graph_util/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/image/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/io/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/initializers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/activations/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/densenet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/inception_resnet_v2/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/inception_v3/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/mobilenet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/mobilenet_v2/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/nasnet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/resnet50/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/vgg16/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/vgg19/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/xception/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/backend/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/callbacks/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/constraints/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/boston_housing/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/cifar10/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/cifar100/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/fashion_mnist/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/imdb/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/mnist/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/reuters/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/estimator/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/initializers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/layers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/losses/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/metrics/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/models/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/optimizers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/image/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/sequence/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/text/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/regularizers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/wrappers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/wrappers/scikit_learn/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/layers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/linalg/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/logging/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/losses/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/manip/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/math/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/metrics/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/nn/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/nn/rnn_cell/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/profiler/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/python_io/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/quantization/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/random/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/resource_loader/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/strings/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/builder/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/loader/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/main_op/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/signature_constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/signature_def_utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/tag_constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sets/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sparse/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/spectral/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/summary/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sysconfig/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/test/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/train/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/train/queue_runner/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/user_ops/init.py') 2019-02-18 10:36:50.619656: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr /bin/bash: line 1: 27745 Aborted bazel-out/host/bin/tensorflow/create_tensorflow.python_api_1 --root_init_template=tensorflow/api_template.init.py --apidir=bazel-out/k8-opt/genfiles/tensorflow_api/v1/ --apiname=tensorflow --apiversion=1 --package=tensorflow.python --output_package=tensorflow._api.v1 bazel-out/k8-opt/genfiles/tensorflow/_api/v1/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/app/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/bitwise/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/compat/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/data/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/data/experimental/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/debugging/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/distributions/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/dtypes/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/errors/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/feature_column/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/gfile/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/graph_util/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/image/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/io/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/initializers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/activations/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/densenet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/inception_resnet_v2/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/inception_v3/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/mobilenet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/mobilenet_v2/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/nasnet/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/resnet50/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/vgg16/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/vgg19/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/applications/xception/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/backend/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/callbacks/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/constraints/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/boston_housing/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/cifar10/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/cifar100/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/fashion_mnist/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/imdb/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/mnist/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/datasets/reuters/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/estimator/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/initializers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/layers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/losses/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/metrics/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/models/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/optimizers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/image/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/sequence/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/preprocessing/text/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/regularizers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/wrappers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/keras/wrappers/scikit_learn/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/layers/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/linalg/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/logging/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/losses/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/manip/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/math/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/metrics/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/nn/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/nn/rnn_cell/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/profiler/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/python_io/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/quantization/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/random/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/resource_loader/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/strings/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/builder/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/loader/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/main_op/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/signature_constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/signature_def_utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/tag_constants/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/saved_model/utils/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sets/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sparse/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/spectral/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/summary/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/sysconfig/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/test/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/train/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/train/queue_runner/init.py bazel-out/k8-opt/genfiles/tensorflow/_api/v1/user_ops/init.py Target //tensorflow/tools/pip_package:build_pip_package failed to build INFO: Elapsed time: 2.103s, Critical Path: 0.66s INFO: 0 processes. FAILED: Build did NOT complete successfully