Repository navigation
Why do vllm set default keep-alive timeout to 5s? #8287
Replies: 2 comments
|
now, you can set env change this value |
|
5s matches uvicorn's own default it is an idle timeout and not a request timeout so it cannot kill a long generation what does break is writing onto a pooled connection the server already closed there is no python cli flag for it so use the env var defined at |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
For huge size and long-context models takes more than 5s and no additional connections or requests are sent to server, so server can close connection and trigger exception. For example, openai sdk that uses httpx makes error message
Server disconnected without sending a response.For this, I want to control this with uvicorn arguments, can this be overriden?
This is a "Guess", but exceptions are actually happening.
All reactions