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
ded1fb63
Unverified
Commit
ded1fb63
authored
Jul 01, 2025
by
Zhonghua Deng
Committed by
GitHub
Jun 30, 2025
Browse files
[Bugfix][V1][P/D]Fix the issue of occasional garbled output for P2pNcclConnector (#20263)
Signed-off-by:
Abatom
<
abzhonghua@gmail.com
>
parent
97d9524f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
vllm/distributed/kv_transfer/kv_connector/v1/p2p/p2p_nccl_engine.py
...ibuted/kv_transfer/kv_connector/v1/p2p/p2p_nccl_engine.py
+5
-4
No files found.
vllm/distributed/kv_transfer/kv_connector/v1/p2p/p2p_nccl_engine.py
View file @
ded1fb63
...
@@ -310,10 +310,11 @@ class P2pNcclEngine:
...
@@ -310,10 +310,11 @@ class P2pNcclEngine:
elif
data
[
"cmd"
]
==
"PUT"
:
elif
data
[
"cmd"
]
==
"PUT"
:
tensor_id
=
data
[
"tensor_id"
]
tensor_id
=
data
[
"tensor_id"
]
try
:
try
:
tensor
=
torch
.
empty
(
data
[
"shape"
],
with
torch
.
cuda
.
stream
(
self
.
recv_stream
):
dtype
=
getattr
(
tensor
=
torch
.
empty
(
data
[
"shape"
],
torch
,
data
[
"dtype"
]),
dtype
=
getattr
(
device
=
self
.
device
)
torch
,
data
[
"dtype"
]),
device
=
self
.
device
)
self
.
router_socket
.
send_multipart
(
self
.
router_socket
.
send_multipart
(
[
remote_address
,
b
"0"
])
[
remote_address
,
b
"0"
])
comm
,
rank
=
self
.
comms
[
remote_address
.
decode
()]
comm
,
rank
=
self
.
comms
[
remote_address
.
decode
()]
...
...
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