server icon indicating copy to clipboard operation
server copied to clipboard

Failing to invoke triton methods via GRPC

Open tom-r-o opened this issue 6 years ago • 1 comments

Description Took the /master/docs/protocol/grpc_core_service.proto file from the 20.09 branch, compiled it to C# (.net standard), and tried to invoke some methods (.net core). Every rpc invocation return a GRPC unimplemented exception (Grpc.Core.RpcException: 'Status(StatusCode=Unimplemented, Detail="")').

Triton Information Ran the pre-built Triton: nvcr.io/nvidia/tritonserver:20.09-py3. It works when invoked from the python example.

To Reproduce

  1. Compile the proto file for C#.
  2. Try to invoke Triton with the generated classes.

Sample code: TritonGrpc.zip

Expected behavior Triton to return valid results.

tom-r-o avatar Oct 19 '20 15:10 tom-r-o

Just realized that /docs/protocol/grpc_core_service.proto is the incorrect proto file to use. Instead, the proto files to use are: src/core/grpc_service.proto src/core/model_config.proto

tom-r-o avatar Oct 20 '20 07:10 tom-r-o