pytorch/serve

Handle invalid input intelligently !

Open

#2,459 opened on Jul 12, 2023

View on GitHub
 (7 comments) (0 reactions) (0 assignees)Java (3,844 stars) (790 forks)batch import
debugginggood first issuetriaged

Description

🚀 The feature

Given a custom service that expects JSON as input, If the input is invalid JSON such as { "image": "I missed a quote} it will return { "code": 500, "type": "InternalServerException", "message": "Worker died." } and reload model. Is something can do to verify the accuracy of input to avoid such direct returns and model reload when it cannot be modified input?

Motivation, pitch

Is something can do to verify the accuracy of input to avoid such direct returns and model reload when it cannot be modified input?

Alternatives

No response

Additional context

No response

Contributor guide

Handle invalid input intelligently ! · pytorch/serve#2459 | Good First Issue