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
dcf46f1c
Unverified
Commit
dcf46f1c
authored
Mar 28, 2025
by
Chenggang Zhao
Committed by
GitHub
Mar 28, 2025
Browse files
Merge pull request #96 from songhexiang/adjust_kNumThreads_of_notify_dispatch
Adjust kNumThreads of notify_dispatch
parents
e130cc6e
4dd1e68a
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 @
dcf46f1c
...
@@ -428,7 +428,7 @@ void notify_dispatch(const int* num_tokens_per_rank, int* moe_recv_counter_mappe
...
@@ -428,7 +428,7 @@ void notify_dispatch(const int* num_tokens_per_rank, int* moe_recv_counter_mappe
buffer_ptrs, task_fifo_ptrs, head, rank, \
buffer_ptrs, task_fifo_ptrs, head, rank, \
cpu_rdma_team); } break
cpu_rdma_team); } break
constexpr
int
kNumThreads
=
256
;
constexpr
int
kNumThreads
=
std
::
max
(
256
,
32
*
num_channels
)
;
const
auto
num_rdma_ranks
=
num_ranks
/
NUM_MAX_NVL_PEERS
;
const
auto
num_rdma_ranks
=
num_ranks
/
NUM_MAX_NVL_PEERS
;
// Get clean meta
// Get clean meta
...
...
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