-
Notifications
You must be signed in to change notification settings - Fork 186
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 use tritonclient.grpc
#1730
Comments
As far as I could tell, the one thing that package name change would affect is Prometheus metrics, package name is part of a key in metrics, I think. |
Both |
Hey, thanks for the response. Unfortunately, I don't think it's that simple. The error happens even with top-level imports, I'm not trying to import anything message related specifically. For example running
I'm not exactly sure what this method ( |
@lc525 hey, have you had an opportunity to look into this? |
I'm trying to use
tritonclient.grpc
inside an mlserver model, but looks like they don't really go well with one another.python -c "import mlserver;import tritonclient.grpc"
results in aCouldn't build proto file into descriptor pool: duplicate symbol 'inference.ServerLiveRequest'
. I'm not a protobuf expert, but seems like both mlserver and tritonclient have protobuf-generated classes from identical (or maybe just similar?) OIP protos and they conflict with one another. Is there any way to work around this? For example, is it realistic for mlserver to use proto classes from tritonclient directly since it's a required dependency anyway?I think another simpler solution might be changing package declaration in dataplane.proto from
inference
to something likeinference_mlserver
.The text was updated successfully, but these errors were encountered: