Skip to content

Enforce NVSHMEM minimum version of 2.6.0 to remove old workarounds. Update NVSHMEM usage guidance.#106

Merged
romerojosh merged 3 commits intomainfrom
nvshmem_cleanup_and_min_version
Feb 23, 2026
Merged

Enforce NVSHMEM minimum version of 2.6.0 to remove old workarounds. Update NVSHMEM usage guidance.#106
romerojosh merged 3 commits intomainfrom
nvshmem_cleanup_and_min_version

Conversation

@romerojosh
Copy link
Collaborator

In preparation for some upcoming work on the NVSHMEM backends, this PR clears out some outdated NVSHMEM code to workaround issues that have long since been resolved. In place of the workarounds, a compile and runtime check of the NVSHMEM version has been added to enforce a minimum version of 2.6.0. Given that you have to go all the way back to NVHPC SDK 22.5 to get a version older than this, I think this minimum version is reasonable.

In addition to this, this PR changes the NVSHMEM usage guidance surrounding the use of NVSHMEM_DISABLE_CUDA_VMM=1. At the time we added NVSHMEM support, MPI compatibility with CUDA VMM memory was often problematic leading to recommendation to use that setting, but it is better supported these days. Users are still encouraged to read the NVSHMEM documentation for any existing limitations on the platforms they are running on (e.g. systems using libfabric and Slingshot networking which still require this environment variable).

…pdate NVSHMEM usage guidance.

Signed-off-by: Josh Romero <joshr@nvidia.com>
Signed-off-by: Josh Romero <joshr@nvidia.com>
@romerojosh
Copy link
Collaborator Author

/build

@github-actions
Copy link

🚀 Build workflow triggered! View run

@github-actions
Copy link

❌ Build workflow failed! View run

Signed-off-by: Josh Romero <joshr@nvidia.com>
@romerojosh
Copy link
Collaborator Author

/build

@github-actions
Copy link

🚀 Build workflow triggered! View run

@github-actions
Copy link

✅ Build workflow passed! View run

@romerojosh romerojosh merged commit 7f96ba4 into main Feb 23, 2026
4 checks passed
@romerojosh romerojosh deleted the nvshmem_cleanup_and_min_version branch February 24, 2026 17:06
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.

1 participant