You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a request is submitted to our server, the connection remains open until the generation process is complete. However, when we kill the client request, the server does not interrupt the generation process, and continues to internally finish the request. This is a waste of throughput and compute. If a request is cancelled, there's no point in finishing the generation.
We should gracefully kill the GenerateItemProcess of a given request, if that request closes connection on the client side, prior to generation being complete.
Repro
Set SHORTFIN_APPS_LOG_LEVEL=DEBUG, to view the log outputs as the server generates.
Description
When a request is submitted to our server, the connection remains open until the generation process is complete. However, when we kill the client request, the server does not interrupt the generation process, and continues to internally finish the request. This is a waste of throughput and compute. If a request is cancelled, there's no point in finishing the generation.
We should gracefully kill the
GenerateItemProcess
of a given request, if that request closes connection on the client side, prior to generation being complete.Repro
SHORTFIN_APPS_LOG_LEVEL=DEBUG
, to view the log outputs as the server generates.ctrl+c
the curl request, to close the connection from the client sideThe text was updated successfully, but these errors were encountered: