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
dcf58e2a
Commit
dcf58e2a
authored
Jun 01, 2026
by
lijian6
Browse files
fix size err.
Signed-off-by:
lijian
<
lijian6@sugon.com
>
parent
fe8eb468
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
deep_ep/buffer.py
deep_ep/buffer.py
+3
-3
No files found.
deep_ep/buffer.py
View file @
dcf58e2a
...
...
@@ -122,9 +122,9 @@ class Buffer:
self
.
gda_num_qps_per_pe
=
max
(
int
(
os
.
environ
.
get
(
'ROCSHMEM_GDA_NUM_QPS_PER_PE_DEFAULT_CTX'
,
str
(
num_qps_per_rank
))),
num_qps_per_rank
*
self
.
group_size
)
os
.
environ
[
"ROCSHMEM_GDA_NUM_QPS_DEFAULT_CTX"
]
=
str
(
self
.
gda_num_qps_per_pe
)
if
self
.
num_rdma_bytes
>
(
1
<<
30
):
rocshmem_num_rdma_bytes
=
((
self
.
num_rdma_bytes
+
(
1
<<
31
)
-
1
)
//
(
1
<<
31
))
*
(
1
<<
31
)
os
.
environ
[
"ROCSHMEM_HEAP_SIZE"
]
=
str
(
rocshmem_num_rdma_bytes
)
#
if self.num_rdma_bytes > (1 << 30):
#
rocshmem_num_rdma_bytes = ((self.num_rdma_bytes + (1 << 31) - 1) // (1 << 31)) * (1 << 31)
#
os.environ["ROCSHMEM_HEAP_SIZE"] = str(rocshmem_num_rdma_bytes)
if
self
.
group_size
<=
8
:
os
.
environ
[
"ROCSHMEM_BACKEND"
]
=
"ipc"
...
...
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