Skip to content

fix(cd): install matched NVSHMEM for CUDA wheel builds - #49

Merged
cyyever merged 1 commit into
trimfrom
fix/cuda-wheel-nvshmem
Nov 16, 2026
Merged

cyyever merged 1 commit into
trimfrom
fix/cuda-wheel-nvshmem

Conversation

@cyyever

@cyyever cyyever commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Linked issue or supporting maintainer

Requested by the fork owner to fix the failed CUDA wheel publication.

BC-breaking?

No.

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 --check passes. Full CUDA rebuild is pending; lintrunner -a could not run because lintrunner is unavailable locally.

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
cyyever marked this pull request as ready for review November 16, 2026 17:29
@cyyever
cyyever merged commit d63f8bd into trim Nov 16, 2026
55 checks passed
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