сборка TensorFlow из источника (CPU, noAVX) - ОШИБКИ - PullRequest
0 голосов
/ 24 апреля 2020

Я изо всех сил пытаюсь скомпилировать TensorFlow 2.0.1 для CPU (без AVX, без GPU), но безуспешно. Я прошел ./configure вопросы и выбрал флаги процессора.

.tf_configure.bazelr c:

build --action_env PYTHON_BIN_PATH="/usr/bin/python3.6"
 build --action_env PYTHON_LIB_PATH="/usr/local/lib/python3.6/dist-packages"
 build --python_path="/usr/bin/python3.6"
 build --config=xla
 build:opt --copt=-march=westmere
 build:opt --copt=-mssse3
 build:opt --copt=-mcx16
 build:opt --copt=-msse4.1
 build:opt --copt=-msse4.2
 build:opt --copt=-mpopcnt
 build:opt --copt=-mno-avx
 build:opt --host_copt=-march=native
 build:opt --define with_default_optimizations=true
 test --flaky_test_attempts=3
 test --test_size_filters=small,medium
 test:v1 --test_tag_filters=-benchmark-test,-no_oss,-gpu,-oss_serial
 test:v1 --build_tag_filters=-benchmark-test,-no_oss,-gpu
 test:v2 --test_tag_filters=-benchmark-test,-no_oss,-gpu,-oss_serial,-v1only
 test:v2 --build_tag_filters=-benchmark-test,-no_oss,-gpu,-v1only
 build --action_env TF_CONFIGURE_IOS="0"

здание с bazel 2.0.0:

root@pc:/home/username/installers/tensorflow# bazel-2.0.0 build //tensorflow/tools/pip_package:build_pip_package
Starting local Bazel server and connecting to it...
ERROR: /home/username/installers/tensorflow/third_party/py/python_configure.bzl:271:27: parameter 'remotable' is experimental and thus unavailable with the current flags. It may be enabled by setting --experimental_repo_remote_exec
ERROR: error loading package '': in /home/username/installers/tensorflow/tensorflow/workspace.bzl: Extension file 'third_party/py/python_configure.bzl' has errors
ERROR: error loading package '': in /home/username/installers/tensorflow/tensorflow/workspace.bzl: Extension file 'third_party/py/python_configure.bzl' has errors
INFO: Elapsed time: 3.904s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
    Fetching @io_bazel_rules_closure; fetching

Любые советы?

...