根据说明安装了最新版本:https://www.tensorflow.org/serving/setup
它已编译:
tools/run_in_docker.sh bazel build --copt=-march=native --config=nativeopt tensorflow_serving/...
它不起作用:
tools/run_in_docker.sh bazel build --copt=mavx2 --config=nativeopt tensorflow_serving/...
我的错误:
ERROR: /home/rtur/serving/.cache/_bazel_root/9a7fc862f917ca824990d070e07d07d4/external/protobuf_archive/BUILD:104:1: C++ compilation of rule '@protobuf_archive//:protobuf' failed (Exit 1)
gcc: error: mavx2: No such file or directory
我该怎么办?
系统信息 Linux Ubuntu 18.04
TensorFlow Serving安装版本:1.12