Closed haiminh2001 closed 6 days ago
I fixed it myself by replacing the default symbol database in model_config_pb2.py and service_pb2.py files with a new database. The default database is stored in the google protobuf module, which is shared among libraries like tritonclient and seldon mlserver that caused conflicts. This is only a walkaround and I barely have experiences with grpc, if anyone has a better solution I would appreciate very much.
Context: I am trying to create a custom model and I have a need to make an inference request to a Triton Inference Server. Problem: As soon as I import tritonclient, the mlserver cannot start. It logs "shutdown of default inference pool complete" because of loading duplicate symbol. Expected behaviour: I can import tritonclient and use it properly.