Skip to content

Make CuPy an optional dependency #4606

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

Open
leofang opened this issue May 1, 2025 · 0 comments
Open

Make CuPy an optional dependency #4606

leofang opened this issue May 1, 2025 · 0 comments
Labels
cuda.cooperative For all items related to the cuda.cooperative Python module cuda.parallel For all items related to the cuda.parallel Python module

Comments

@leofang
Copy link
Member

leofang commented May 1, 2025

We are building fundamental libraries for all Python GPU libraries and frameworks such as CuPy, PyTorch, etc to depend on. So it is important that we do not make any of them a required dependency to avoid circular import and difficulty in updating CUDA support. We can, however, use them in code samples and tests as usual, as long as proper import guards are added. All CUDA driver/runtime/compilation capabilities should switch to use cuda.core.

@leofang leofang added cuda.cooperative For all items related to the cuda.cooperative Python module cuda.parallel For all items related to the cuda.parallel Python module labels May 1, 2025
@github-project-automation github-project-automation bot moved this to Todo in CCCL May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.cooperative For all items related to the cuda.cooperative Python module cuda.parallel For all items related to the cuda.parallel Python module
Projects
Status: Todo
Development

No branches or pull requests

1 participant