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
0267fef5
Unverified
Commit
0267fef5
authored
Mar 28, 2024
by
youkaichao
Committed by
GitHub
Mar 29, 2024
Browse files
[Core] fix del of communicator (#3702)
parent
4716a32d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
vllm/model_executor/parallel_utils/pynccl.py
vllm/model_executor/parallel_utils/pynccl.py
+3
-1
No files found.
vllm/model_executor/parallel_utils/pynccl.py
View file @
0267fef5
...
...
@@ -252,5 +252,7 @@ class NCCLCommunicator:
assert
result
==
0
def
__del__
(
self
):
dist
.
destroy_process_group
()
# `dist` module might have been already destroyed
if
hasattr
(
dist
,
'destroy_process_group'
):
dist
.
destroy_process_group
()
_c_ncclCommDestroy
(
self
.
comm
)
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