Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does TensorFlow Serving work on MacOS 10.12.* or 10.13.*? #487

Closed
shyamalschandra opened this issue Jun 15, 2017 · 4 comments
Closed

Does TensorFlow Serving work on MacOS 10.12.* or 10.13.*? #487

shyamalschandra opened this issue Jun 15, 2017 · 4 comments

Comments

@shyamalschandra
Copy link

I saw the following issue from last year but wasn't sure if the status had been updated:

#1

Has anything changed since the instructions are for the Linux machines?

@SeanYanxml
Copy link

I build it on mac yesterday, but failed. I recommend to use docker .
For more to read this article. https://tensorflow.github.io/serving/docker

@shyamalschandra
Copy link
Author

Anyone else with some ideas of the exact brew installation packages to installation before using bazel to install tensorflow_serving?

@SeanYanxml
Copy link

SeanYanxml commented Jun 18, 2017

@shyamalschandra As you can see in #1 .
It has a bug in Mac OSX system. It is not the bug of bazel or tensorflow serving.
So , maybe we can not compile it on Mac OSX sysetm until the bug has been fixed. The content of bug as follow:

Shaikjalal commented on 26 Jun 2016
I have issues compiling serving on mac, i guess its still not supported for mac.
tensorflow_serving/core/test_util/BUILD:52:1: C++ compilation of rule '//tensorflow_serving/core/test_util:fake_loader' failed: osx_cc_wrapper.sh failed: error executing command external/bazel_tools/tools/cpp/osx_cc_wrapper.sh '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer '-std=c++0x' -iquote . -iquote ... (remaining 101 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
In file included from tensorflow_serving/core/test_util/fake_loader.cc:16:
./tensorflow_serving/core/test_util/fake_loader.h:59:10: error: thread-local storage is not supported for the current target
static thread_local bool was_deleted_in_this_thread_;
^
tensorflow_serving/core/test_util/fake_loader.cc:24:1: error: thread-local storage is not supported for the current target
thread_local bool FakeLoader::was_deleted_in_this_thread_;
^
2 errors generated.
INFO: Elapsed time: 1583.096s, Critical Path: 1409.25s

@terryKing1992
Copy link

terryKing1992 commented Jun 22, 2017

please try this #Issue389 solution;Hope it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants