You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all,
I tried to build a wheel for Mac M1 for the last Addons. I did it like described in #2503.
I get the following error. Does someone know what the problem is?
Because i use Tensorflow 2.7. (Python 3.9.5) I couldn't use the wheel from #2503
if someone can provide a build wheel for Addons >= tensorflow-addons-0.15.0. it would also help.
Thanks a lot !
bazel build build_pip_pkg
Starting local Bazel server and connecting to it...
WARNING: /private/var/tmp/_bazel_stephanelter/3e9e45535f0149b84e463236aa5bb192/external/local_config_tf/BUILD:11113:8: target 'libtensorflow_framework.2.dylib' is both a rule and a file; please choose another name for the rule
INFO: Analyzed target //:build_pip_pkg (38 packages loaded, 269 targets configured).
INFO: Found 1 target...
ERROR: /Users/stephanelter/addons/tensorflow_addons/custom_ops/seq2seq/BUILD:7:18: C++ compilation of rule '//tensorflow_addons/custom_ops/seq2seq:_beam_search_ops.so' failed (Exit 1): cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer -g0 -O2 ... (remaining 40 argument(s) skipped)
In file included from tensorflow_addons/custom_ops/seq2seq/cc/ops/beam_search_ops.cc:16:
In file included from bazel-out/darwin-opt/bin/external/local_config_tf/include/tensorflow/core/framework/op.h:24:
In file included from bazel-out/darwin-opt/bin/external/local_config_tf/include/tensorflow/core/framework/full_type_util.h:24:
In file included from bazel-out/darwin-opt/bin/external/local_config_tf/include/tensorflow/core/framework/node_def_util.h:23:
In file included from bazel-out/darwin-opt/bin/external/local_config_tf/include/tensorflow/core/framework/attr_value_util.h:24:
In file included from bazel-out/darwin-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor.h:25:
bazel-out/darwin-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_types.h:176:25: error: 'auto' not allowed in lambda parameter
auto all = [](const auto&... bool_vals) {
^~~~
bazel-out/darwin-opt/bin/external/local_config_tf/include/tensorflow/core/framework/tensor_types.h:176:30: error: type 'int &' of function parameter pack does not contain any unexpanded parameter packs
auto all = [](const auto&... bool_vals) {
~~~~~~~~~~~^~~~~~~~~~~~~
2 errors generated.
The text was updated successfully, but these errors were encountered:
Hello all,
I tried to build a wheel for Mac M1 for the last Addons. I did it like described in #2503.
I get the following error. Does someone know what the problem is?
Because i use Tensorflow 2.7. (Python 3.9.5) I couldn't use the wheel from #2503
if someone can provide a build wheel for Addons >= tensorflow-addons-0.15.0. it would also help.
Thanks a lot !
The text was updated successfully, but these errors were encountered: