Skip to content
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

Shape and datatype validation on Pipeline inference request #5188

Open
stephaniegaspar opened this issue Jan 17, 2024 · 0 comments
Open

Shape and datatype validation on Pipeline inference request #5188

stephaniegaspar opened this issue Jan 17, 2024 · 0 comments
Labels

Comments

@stephaniegaspar
Copy link

stephaniegaspar commented Jan 17, 2024

I've noticed this issue with the same seldon-core version (2.6.0) and installation conditions that I described on another reported issue.

Describe the bug

I created the pipeline tfsimples following this example.
When I make an inference request for that pipeline with a shape that isn't expected in one of the inputs, I receive the following error:

upstream connect error or disconnect/reset before headers. reset reason: connection termination

Comparing the same situation with an inference request for a model (tfsimple1), I receive a different message:

"Unable to parse 'data': Shape does not match true shape of 'data' field"

When I make another inference request for that pipeline with a wrong datatype in one of the inputs, I receive the same unclear error message:

upstream connect error or disconnect/reset before headers. reset reason: connection termination

Comparing the same situation with an inference request for the same model tfsimple1, I receive again a more clear message:

"[request id: <id_unknown>] inference input data-type is 'INT64', model expects 'INT32' for 'tfsimple1'"

Expected behaviour

I was expecting to receive the same clarifying message when I make the same inference request with wrong shape and datatype on a pipeline.

Environment

  • Cloud Provider: Azure
  • Kubernetes Cluster Version: v5.0.1
  • Deployed Seldon System Images: seldonv2-controller:2.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants