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
The ApiDependencies.shutdown method is not called when you press ^C to stop the app. As a result, the services are unable to do their shutdown tasks like clearing the tensor outputs
What you expected to happen
The ApiDependencies.shutdown method is called when you press ^C
How to reproduce the problem
Add print statements to the lifespan function in api_app.py - one for startup and one for shutdown
Start the app, note the startup print stmt works
Press ^C to end the app, note no shutdown print stmt
Is there an existing issue for this problem?
Operating system
Linux
GPU vendor
Nvidia (CUDA)
GPU model
No response
GPU VRAM
No response
Version number
main a35386f
Browser
ff
Python dependencies
No response
What happened
The
ApiDependencies.shutdown
method is not called when you press^C
to stop the app. As a result, the services are unable to do their shutdown tasks like clearing the tensor outputsWhat you expected to happen
The
ApiDependencies.shutdown
method is called when you press^C
How to reproduce the problem
lifespan
function inapi_app.py
- one for startup and one for shutdown^C
to end the app, note no shutdown print stmtAdditional context
Introduced by #6026
Discord username
No response
The text was updated successfully, but these errors were encountered: