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
4f074fbf
Unverified
Commit
4f074fbf
authored
Dec 24, 2024
by
dpxa
Committed by
GitHub
Dec 24, 2024
Browse files
[Misc]Suppress irrelevant exception stack trace information when CUDA… (#11438)
Co-authored-by: shiquan <shiquan>
parent
a491d6f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vllm/entrypoints/llm.py
vllm/entrypoints/llm.py
+2
-1
No files found.
vllm/entrypoints/llm.py
View file @
4f074fbf
...
...
@@ -233,7 +233,8 @@ class LLM:
self
.
request_counter
=
Counter
()
def
__del__
(
self
):
if
self
.
llm_engine
and
hasattr
(
self
.
llm_engine
,
"shutdown"
):
if
hasattr
(
self
,
'llm_engine'
)
and
self
.
llm_engine
and
hasattr
(
self
.
llm_engine
,
"shutdown"
):
self
.
llm_engine
.
shutdown
()
@
staticmethod
...
...
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