Skip to content

remove the dependency of gdrcopy #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 10, 2025
Merged

Conversation

youkaichao
Copy link
Contributor

Right now we use either nvlink or ibgda, gdrcopy is not needed anymore.

I find that modifying the nvshmemt_ibgda_progress function can make nvshmem compile without gdrcopy. This can greatly simplify the process of installing DeepEP. We just need to compile nvshmem, with one additional driver flag options nvidia NVreg_EnableStreamMemOPs=1 NVreg_RegistryDwords="PeerMappingOverride=1;" .

NOTE: theoretically ibgda has a cpu-assisted mode that needs gdrcopy, however, the default mode is "auto", and if we compile without gdrcopy, the cpu-assisted mode will be turned off automatically. therefore, we don't need to do anything special in deepep.

Signed-off-by: youkaichao <[email protected]>
Signed-off-by: youkaichao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants