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
ab484794
Unverified
Commit
ab484794
authored
Aug 25, 2025
by
fzyzcjy
Committed by
GitHub
Aug 25, 2025
Browse files
Update internode_ll.cu (#374)
parent
e7044855
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/kernels/internode_ll.cu
csrc/kernels/internode_ll.cu
+1
-1
No files found.
csrc/kernels/internode_ll.cu
View file @
ab484794
...
@@ -932,7 +932,7 @@ void combine(void* combined_x,
...
@@ -932,7 +932,7 @@ void combine(void* combined_x,
const
int
num_warp_groups
=
ceil_div
(
num_experts
,
num_device_sms
);
const
int
num_warp_groups
=
ceil_div
(
num_experts
,
num_device_sms
);
const
int
num_warps_per_group
=
32
/
num_warp_groups
;
const
int
num_warps_per_group
=
32
/
num_warp_groups
;
const
int
num_recv_per_sm
=
ceil_div
(
num_combined_tokens
,
num_device_sms
);
const
int
num_recv_per_sm
=
ceil_div
(
num_combined_tokens
,
num_device_sms
);
EP_HOST_ASSERT
(
num_warp_groups
>
0
and
num_warps_per_group
>
0
and
num_recv_per_sm
>
0
);
EP_HOST_ASSERT
(
num_warp_groups
>
0
and
num_warps_per_group
>
0
and
((
num_combined_tokens
==
0
)
or
(
num_recv_per_sm
>
0
)
))
;
const
auto
num_warps
=
num_warp_groups
*
num_warps_per_group
;
const
auto
num_warps
=
num_warp_groups
*
num_warps_per_group
;
const
auto
num_sms
=
max
(
ceil_div
(
num_experts
,
num_warp_groups
),
ceil_div
(
num_combined_tokens
,
num_recv_per_sm
));
const
auto
num_sms
=
max
(
ceil_div
(
num_experts
,
num_warp_groups
),
ceil_div
(
num_combined_tokens
,
num_recv_per_sm
));
...
...
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