GRPC server always return `RawOutputContents` even if the `InferInputTensor::contents` is specified.
See original GitHub issueDescription
GRPC server always return RawOutputContents
even if the InferInputTensor::contents
is specified.
Triton Information r21.03 container
To Reproduce
In src/clients/go/grpc_simple_client.go
, change the input from RawInputContents
to InferInputTensor::contents
and just run the sample.
Expected behavior
InferOutputTensor::Contents
should be returned.
Is this behavior by design or a bug?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The return by raw output contents is by design for performance consideration. The parsing of data to contents field will be an expensive operation on the upstream. Hence, tritonserver will directly return the output as a raw data blob. Provided the blob, user can always parse out the data into individual elements.
@zouyxdut Do you have a specific use case where you require output to be returned as explicit contents field? Or was there any indication that using
InferInputTensor::contents
would return results asInferOutputTensor::Contents
in triton docs? If latter is true, we can fix the docs to prevent giving the wrong idea.Closing the issue… Please file a new issue if you would like to request for output to be returned as explicit array within InferOutputTensor::Contents.