Closed riverflow closed 5 years ago
Try adding a build flag --config=nonccl
as follows
bazel build --config=opt --config=nonccl //tensorflow/tools/pip_package:build_pip_package
Closing due to long time no response. Reopen if needed.
Can you please build your tensorflows with bazel option '--copt=-march=westmere'? I can't build and I can't execute your tensorflows for my Mac Pro 5,1.
In compile process, I got this error many times
ERROR: undeclared inclusion(s) in rule '//tensorflow/core/kernels:nccl_kernels': this rule is missing dependency declarations for the following files included by 'tensorflow/core/kernels/nccl_ops.cc': 'third_party/nccl/nccl.h' tensorflow/core/kernels/nccl_ops.cc:189:15: warning: private field 'reductionop' is not used [-Wunused-private-field] ncclRedOp_t reductionop; ^ 1 warning generated. Target //tensorflow/tools/pip_package:build_pip_package failed to build
When I install your tensorflow version, got 'Illegal instruction: 4' when importing tensorflow
I did ‘git checkout r1.12’ and use python 3.6 (in anaconda)
Sorry for the inconvenience