-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closing PyTorchEngine gracefully #3104
Comments
Have you try the latest version? We have add a Task-done callback to catch the exception. Try ignore the exception here. |
I have updated to
If you can let me know if there is a way to close the connection in the |
PytorchEngine would start 4 asyncio tasks. Named lmdeploy/lmdeploy/pytorch/engine/engine.py Line 892 in 637435f
Try cancel them before closing the event loop. Note that canceling tasks may take some time. |
I have an inference running on a server with an endpoint. The endpoint receives the prompt, process and closes. On closing I am getting the following error. Is there a way to close the Pytorchengine without creating this error?
The text was updated successfully, but these errors were encountered: