Skip to content

Question on Inference loop blocking behaviour and how to handle #3592

Closed Answered by ajstewart
ajstewart asked this question in Q&A
Discussion options

You must be logged in to vote

I will add notes here in case someone else gets in the same confusion as me. Maybe this conversation with myself will help. I sat down again and read through all the KServe and KNative docs to understand it better and now I see my errors.

I've managed to get a performant server that is able to cope with bursts with no errors, for which I have done:

  • The main bit is that I was not setting it up correctly in terms of the containerConcurrency. The nature of the sync model call blocking the loop means that I should have containerConcurrency=1. It can only deal with one at a time and this is a hard limit.
  • As requests can be bursty, but not required to have the response returned immediately, I …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ajstewart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant