Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
bae888cb
Unverified
Commit
bae888cb
authored
Aug 16, 2024
by
Rui Qiao
Committed by
GitHub
Aug 16, 2024
Browse files
[Bugfix] Clear engine reference in AsyncEngineRPCServer (#7618)
Signed-off-by:
Rui Qiao
<
ruisearch42@gmail.com
>
parent
6bd19551
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/entrypoints/openai/rpc/server.py
vllm/entrypoints/openai/rpc/server.py
+2
-0
No files found.
vllm/entrypoints/openai/rpc/server.py
View file @
bae888cb
...
...
@@ -38,6 +38,8 @@ class AsyncEngineRPCServer:
self
.
socket
.
close
()
self
.
context
.
destroy
()
self
.
engine
.
shutdown_background_loop
()
# Clear the engine reference so that it can be GC'ed.
self
.
engine
=
None
async
def
get_model_config
(
self
,
identity
):
"""Send the ModelConfig"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment