docs: full CUDA toolkit (NVRTC dev libs) required to build the extension#208
Open
JinukMoon wants to merge 1 commit into
Open
docs: full CUDA toolkit (NVRTC dev libs) required to build the extension#208JinukMoon wants to merge 1 commit into
JinukMoon wants to merge 1 commit into
Conversation
A compiler-only toolchain (e.g. conda's cuda-nvcc alone) fails the CMake build with 'CUDA::nvrtc but the target was not found' (CMakeLists.txt links CUDA::nvrtc). Document the requirement and the CUDAToolkit_ROOT workaround, as suggested in PASSIONLab#207.
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.
What
Adds an installation-docs note that building the C++ extension requires a full CUDA toolkit including the NVRTC development libraries, with the exact failure signature and the
CUDAToolkit_ROOTworkaround.Why
Follow-up to #207 (item 2 of my 0.6.8 test report there): on a toolchain that provides only the compiler — e.g. conda's
cuda-nvccpackage alone — the CMake build fails withbecause
openequivariance/CMakeLists.txtlinksCUDA::nvrtc. The failure is easy to hit in conda-managed environments (wherecuda-nvccis the idiomatic way to getnvcc) and the error message doesn't hint at the fix. Verified on torch 2.8.0+cu128 / cp311 / RTX 4060 Ti: settingCUDAToolkit_ROOTto a full toolkit (/usr/local/cuda-12.8) resolves it.As suggested by @asglover in #207 — happy to adjust wording or placement.
🤖 Generated with Claude Code