Skip to content

Support CUDA wheels? #62

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

Closed
leofang opened this issue Apr 24, 2024 · 2 comments
Closed

Support CUDA wheels? #62

leofang opened this issue Apr 24, 2024 · 2 comments
Assignees
Labels
cuda.core Everything related to the cuda.core module P1 Medium priority - Should do support All things related to the project that can't be categorized

Comments

@leofang
Copy link
Member

leofang commented Apr 24, 2024

Currently, CUDA Python loads NVRTC using standard system paths, for example on Linux (cf man ld.so) we do:

handle = dlfcn.dlopen('libnvrtc.so.12', dlfcn.RTLD_NOW)

However, it means unless users purposely add site-packages to LD_LIBRARY_PATH, which is a frown-upon practice, the nvidia-cuda-nvrtc-cuXX wheel (ex: cu12) installed in the user environment will not be used. This issue is for tracking the status of this enhancement.

@leofang leofang self-assigned this Jun 11, 2024
@jollylili jollylili added the support All things related to the project that can't be categorized label Jun 18, 2024
@leofang leofang added the P0 High priority - Must do! label Jul 9, 2024
@leofang leofang added this to the cuda.core beta 2 milestone Oct 9, 2024
@leofang leofang added cuda.core Everything related to the cuda.core module and removed cuda.core beta2 labels Oct 9, 2024
@leofang leofang added P1 Medium priority - Should do and removed P0 High priority - Must do! labels Nov 14, 2024
@vzhurba01
Copy link
Collaborator

https://github.com/NVIDIA/cuda-python/pull/296/files

As part of resolution, make sure to update the install.md to avoid saying we don't support this.

@leofang
Copy link
Member Author

leofang commented Jan 16, 2025

This is largely done except for #288, which could be revisited if needed in the future. Closing.

@leofang leofang closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.core Everything related to the cuda.core module P1 Medium priority - Should do support All things related to the project that can't be categorized
Projects
None yet
Development

No branches or pull requests

3 participants