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
3885404f
Commit
3885404f
authored
Feb 26, 2025
by
Chenggang Zhao
Browse files
Add `NVSHMEM_IB_ENABLE_RELAXED_ORDERING`
parent
45f481b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
deep_ep/buffer.py
deep_ep/buffer.py
+3
-0
No files found.
deep_ep/buffer.py
View file @
3885404f
...
@@ -79,6 +79,9 @@ class Buffer:
...
@@ -79,6 +79,9 @@ class Buffer:
# NOTES: NVSHMEM initialization requires at least 256 MiB
# NOTES: NVSHMEM initialization requires at least 256 MiB
os
.
environ
[
'NVSHMEM_CUMEM_GRANULARITY'
]
=
f
'
{
2
**
29
}
'
os
.
environ
[
'NVSHMEM_CUMEM_GRANULARITY'
]
=
f
'
{
2
**
29
}
'
# Disable PCIe relaxed ordering to avoid out-of-order messages
os
.
environ
[
'NVSHMEM_IB_ENABLE_RELAXED_ORDERING'
]
=
'0'
# NOTES: make sure AR (Adaptive Routing) is turned off while running normal kernels, as we cannot verify AR status in the code
# NOTES: make sure AR (Adaptive Routing) is turned off while running normal kernels, as we cannot verify AR status in the code
# Synchronize using the root ID
# Synchronize using the root ID
nvshmem_unique_ids
=
[
None
,
]
*
self
.
group_size
nvshmem_unique_ids
=
[
None
,
]
*
self
.
group_size
...
...
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