Repository navigation
fix(cd): install matched NVSHMEM for CUDA wheel builds - #49
Merged
Merged
Conversation
The Arch wheel image installs the CUDA toolkit but not NVSHMEM, so the required distributed host/device libraries and headers are absent. Reuse the CUDA dependency matrix to install the matching NVSHMEM wheel and export its root, and carry the same runtime dependencies into metadata. Test Plan: ``` git diff --check ``` Parsed both nested Bash layers and executed the dependency extraction. Verified the three required paths in the official 3.7.2 wheel directory. lintrunner -a could not run because lintrunner is not installed. Authored with an AI assistant.
cyyever
marked this pull request as ready for review
November 16, 2026 17:29
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked issue or supporting maintainer
BC-breaking?
Summary (human written only)
Agent details (AI-generated)
The Arch wheel image never installed NVSHMEM, causing CMake to fail on the required host library, device archive and headers. Install the NVSHMEM wheel selected by the existing CUDA dependency table, export its root, and fail early if any required file is missing. Export the same table as wheel runtime dependencies so consumers receive NVSHMEM and the CUDA libraries expected by the existing RPATHs. Distributed and multi-GPU support remain enabled.
Validation: both nested Bash layers parse, actual dependency extraction selects
nvidia-nvshmem-cu13==3.7.2, and the official wheel directory contains all three required paths.git diff --checkpasses. Full CUDA rebuild is pending;lintrunner -acould not run because lintrunner is unavailable locally.