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
77f97f79
Unverified
Commit
77f97f79
authored
Jun 18, 2025
by
Shangyan Zhou
Committed by
GitHub
Jun 18, 2025
Browse files
Fix the tail loading issue. (#219)
* Fix the tail loading issue. * Modify the sync offset.
parent
dd133d39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/kernels/internode.cu
csrc/kernels/internode.cu
+1
-1
No files found.
csrc/kernels/internode.cu
View file @
77f97f79
...
@@ -605,7 +605,7 @@ dispatch(int4* recv_x, float* recv_x_scales, int64_t* recv_topk_idx, float* recv
...
@@ -605,7 +605,7 @@ dispatch(int4* recv_x, float* recv_x_scales, int64_t* recv_topk_idx, float* recv
// Read progress
// Read progress
auto
synced_last_issued_tail
=
__shfl_sync
(
0xffffffff
,
last_issued_tail
,
dst_rdma_rank
);
auto
synced_last_issued_tail
=
__shfl_sync
(
0xffffffff
,
last_issued_tail
,
dst_rdma_rank
);
auto
processed_tail
=
ld_acquire_cta
(
const_cast
<
const
int
*>
(
rdma_send_channel_tail
+
dst_rdma_rank
));
auto
processed_tail
=
__shfl_sync
(
0xffffffff
,
ld_acquire_cta
(
const_cast
<
const
int
*>
(
rdma_send_channel_tail
+
dst_rdma_rank
))
,
0
)
;
auto
num_tokens_processed
=
processed_tail
-
synced_last_issued_tail
;
auto
num_tokens_processed
=
processed_tail
-
synced_last_issued_tail
;
if
(
num_tokens_processed
!=
synced_num_tokens_to_send
and
num_tokens_processed
<
num_max_rdma_chunked_send_tokens
)
if
(
num_tokens_processed
!=
synced_num_tokens_to_send
and
num_tokens_processed
<
num_max_rdma_chunked_send_tokens
)
continue
;
continue
;
...
...
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