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
a15faa9f
"openmmapi/src/PythonForceImpl.cpp" did not exist on "0e879806cdd38e58b04481ecf7fcd93c44c7dc27"
Commit
a15faa9f
authored
Jun 24, 2025
by
Chenggang Zhao
Browse files
Remove useless assertion
parent
bc118b24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
csrc/kernels/internode.cu
csrc/kernels/internode.cu
+5
-6
No files found.
csrc/kernels/internode.cu
View file @
a15faa9f
...
@@ -562,7 +562,7 @@ dispatch(int4* recv_x, float* recv_x_scales, int64_t* recv_topk_idx, float* recv
...
@@ -562,7 +562,7 @@ dispatch(int4* recv_x, float* recv_x_scales, int64_t* recv_topk_idx, float* recv
acquire_lock
(
rdma_send_channel_lock
+
lane_id
);
acquire_lock
(
rdma_send_channel_lock
+
lane_id
);
// Release the transaction slot
// Release the transaction slot
auto
rdy_
window
=
rdma_send_channel_window
[
lane_id
];
auto
window
=
rdma_send_channel_window
[
lane_id
];
auto
latest_tail
=
rdma_send_channel_tail
[
lane_id
];
auto
latest_tail
=
rdma_send_channel_tail
[
lane_id
];
auto
offset
=
rdma_tail_idx
-
latest_tail
;
auto
offset
=
rdma_tail_idx
-
latest_tail
;
...
@@ -570,14 +570,13 @@ dispatch(int4* recv_x, float* recv_x_scales, int64_t* recv_topk_idx, float* recv
...
@@ -570,14 +570,13 @@ dispatch(int4* recv_x, float* recv_x_scales, int64_t* recv_topk_idx, float* recv
EP_STATIC_ASSERT
(
kNumDispatchRDMASenderWarps
<
32
,
"Invalid warps"
);
EP_STATIC_ASSERT
(
kNumDispatchRDMASenderWarps
<
32
,
"Invalid warps"
);
// Erase bit and move the ones if possible
// Erase bit and move the ones if possible
rdy_
window
^=
1u
<<
offset
;
window
^=
1u
<<
offset
;
if
(
offset
==
0
)
{
if
(
offset
==
0
)
{
EP_DEVICE_ASSERT
(
rdy_window
&
1
);
auto
num_empty_slots
=
__ffs
(
~
window
)
-
1
;
auto
num_empty_slots
=
__ffs
(
~
rdy_window
)
-
1
;
st_release_cta
(
rdma_send_channel_tail
+
lane_id
,
latest_tail
+
num_empty_slots
);
st_release_cta
(
rdma_send_channel_tail
+
lane_id
,
latest_tail
+
num_empty_slots
);
rdy_
window
>>=
num_empty_slots
;
window
>>=
num_empty_slots
;
}
}
rdma_send_channel_window
[
lane_id
]
=
rdy_
window
;
rdma_send_channel_window
[
lane_id
]
=
window
;
// Release lock
// Release lock
release_lock
(
rdma_send_channel_lock
+
lane_id
);
release_lock
(
rdma_send_channel_lock
+
lane_id
);
...
...
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