-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Unable to compile prediction_service.proto for Golang #2186
Comments
Can you try using buf’s managed mode to build the TF serving proto files as shown in TF Forum thread. Thank you! |
Checking this out @singhniraj08 Will update this thread. |
Getting |
@0110G In case you are still stuck I have a Bazel based minimal proto library in https://github.com/PantaPasen/tensorflow-serving-apis-proto/tree/2.15, adding Bazel go proto libs on top of it or a buf generation should be fairly easy. |
Bug Report
If this is a bug report, please fill out the following form in full:
System information
Describe the problem
I want to serve realtime predictions from a pretrained model using tf serve. While I am able to use RESTful APIs and getting correct predictions, I am not able to use gRPC methods for optimising my response times.
Exact Steps to Reproduce
I tried following these approaches before raising this issue:
import cycle not allowed
err #634To be precise, I am doing the following:
vendor
.My directory structure after step 3 looks like:
protoc -I tensorflow -I serving --go_out=vendor --go_opt=paths=source_relative --go-grpc_out=vendor --go-grpc_opt=paths=source_relative serving/tensorflow_serving/apis/prediction_service.proto
protoc --version = libprotoc 24.3
Source code / logs
I am getting the following error:
I tried using M argument as specified but still faced the same issue for some other file.
Please help
The text was updated successfully, but these errors were encountered: