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
c2e75b3c
Unverified
Commit
c2e75b3c
authored
Aug 04, 2025
by
Ning Xie
Committed by
GitHub
Aug 03, 2025
Browse files
remove duplicate code within cleanup_dist_env_and_memory (#22147)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
0d7db16a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
vllm/distributed/parallel_state.py
vllm/distributed/parallel_state.py
+0
-2
No files found.
vllm/distributed/parallel_state.py
View file @
c2e75b3c
...
...
@@ -1238,8 +1238,6 @@ def destroy_distributed_environment():
def
cleanup_dist_env_and_memory
(
shutdown_ray
:
bool
=
False
):
destroy_model_parallel
()
destroy_distributed_environment
()
with
contextlib
.
suppress
(
AssertionError
):
torch
.
distributed
.
destroy_process_group
()
if
shutdown_ray
:
import
ray
# Lazy import Ray
ray
.
shutdown
()
...
...
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