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
DeepEP
Commits
d0225df2
Commit
d0225df2
authored
Jun 03, 2025
by
wzc.wuzhicheng
Browse files
Fix notify_dispatch: using warp 0 to issue send
Signed-off-by:
wzc.wuzhicheng
<
wzc.wuzhicheng@linux.alibaba.com
>
parent
9fe9021f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
csrc/kernels/internode.cu
csrc/kernels/internode.cu
+6
-4
No files found.
csrc/kernels/internode.cu
View file @
d0225df2
...
...
@@ -254,10 +254,12 @@ notify_dispatch(const int* num_tokens_per_rank, int* moe_recv_counter_mapped, in
// TODO: overlap EP barrier and NVL cleaning
for
(
int
i
=
0
;
i
<
kNumRDMARanks
;
++
i
)
{
if
(
i
!=
rdma_rank
)
{
nvshmemi_ibgda_put_nbi_warp
<
true
>
(
reinterpret_cast
<
uint64_t
>
(
rdma_recv_num_tokens_mixed
.
recv_buffer
(
rdma_rank
)),
reinterpret_cast
<
uint64_t
>
(
rdma_recv_num_tokens_mixed
.
send_buffer
(
i
)),
(
NUM_MAX_NVL_PEERS
+
num_rdma_experts
+
1
)
*
sizeof
(
int
),
translate_dst_rdma_rank
<
kLowLatencyMode
>
(
i
,
nvl_rank
),
0
,
lane_id
,
0
);
if
(
warp_id
==
0
)
{
nvshmemi_ibgda_put_nbi_warp
<
true
>
(
reinterpret_cast
<
uint64_t
>
(
rdma_recv_num_tokens_mixed
.
recv_buffer
(
rdma_rank
)),
reinterpret_cast
<
uint64_t
>
(
rdma_recv_num_tokens_mixed
.
send_buffer
(
i
)),
(
NUM_MAX_NVL_PEERS
+
num_rdma_experts
+
1
)
*
sizeof
(
int
),
translate_dst_rdma_rank
<
kLowLatencyMode
>
(
i
,
nvl_rank
),
0
,
lane_id
,
0
);
}
}
else
{
UNROLLED_WARP_COPY
(
1
,
lane_id
,
NUM_MAX_NVL_PEERS
+
num_rdma_experts
+
1
,
rdma_recv_num_tokens_mixed
.
recv_buffer
(
rdma_rank
),
...
...
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