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
bdd119f8
"vscode:/vscode.git/clone" did not exist on "e6b4f527b2105dbbf017e7a8554933bef0706673"
Commit
bdd119f8
authored
Jul 22, 2025
by
Shangyan Zhou
Browse files
Update combine config
parent
d72817eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
deep_ep/buffer.py
deep_ep/buffer.py
+1
-1
tests/test_internode.py
tests/test_internode.py
+2
-2
No files found.
deep_ep/buffer.py
View file @
bdd119f8
...
...
@@ -247,7 +247,7 @@ class Buffer:
2
:
Config
(
Buffer
.
num_sms
,
10
,
256
,
6
,
128
),
4
:
Config
(
Buffer
.
num_sms
,
9
,
256
,
6
,
128
),
8
:
Config
(
Buffer
.
num_sms
,
4
,
256
,
6
,
128
),
16
:
Config
(
Buffer
.
num_sms
,
4
,
288
,
1
6
,
128
),
16
:
Config
(
Buffer
.
num_sms
,
4
,
288
,
1
2
,
128
),
24
:
Config
(
Buffer
.
num_sms
,
1
,
288
,
8
,
128
),
32
:
Config
(
Buffer
.
num_sms
,
1
,
288
,
8
,
128
),
64
:
Config
(
Buffer
.
num_sms
,
1
,
288
,
20
,
128
),
...
...
tests/test_internode.py
View file @
bdd119f8
...
...
@@ -209,8 +209,8 @@ def test_main(args: argparse.Namespace, num_sms: int,
# Tune combine performance
best_time
,
best_results
=
1e10
,
None
for
nvl_chunk_size
in
range
(
1
,
13
,
1
):
for
rdma_chunk_size
in
range
(
8
,
33
,
4
):
for
nvl_chunk_size
in
range
(
1
,
8
,
1
):
for
rdma_chunk_size
in
range
(
12
if
num_nodes
==
2
else
8
,
33
,
4
):
config
=
deep_ep
.
Config
(
num_sms
,
nvl_chunk_size
,
nvl_buffer_size
,
rdma_chunk_size
,
rdma_buffer_size
)
tune_args
=
{
'x'
:
recv_x
,
'handle'
:
handle
,
'config'
:
config
}
t
,
notify_t
=
bench_kineto
(
lambda
:
buffer
.
combine
(
**
tune_args
),
(
'combine'
,
'notify'
))
...
...
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