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
2fc5d6e0
Unverified
Commit
2fc5d6e0
authored
Dec 04, 2025
by
Yongtao Huang
Committed by
GitHub
Dec 03, 2025
Browse files
Fix LLMEngine.del dp_group cleanup condition (#29954)
Signed-off-by:
Yongtao Huang
<
yongtaoh2022@gmail.com
>
parent
afe9eb40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
vllm/v1/engine/llm_engine.py
vllm/v1/engine/llm_engine.py
+2
-4
No files found.
vllm/v1/engine/llm_engine.py
View file @
2fc5d6e0
...
...
@@ -409,8 +409,6 @@ class LLMEngine:
return
self
.
collective_rpc
(
"apply_model"
,
args
=
(
func
,))
def
__del__
(
self
):
if
(
dp_group
:
=
getattr
(
self
,
"dp_group"
,
None
)
and
not
self
.
external_launcher_dp
):
dp_group
=
getattr
(
self
,
"dp_group"
,
None
)
if
dp_group
is
not
None
and
not
self
.
external_launcher_dp
:
stateless_destroy_torch_distributed_process_group
(
dp_group
)
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