cuda-python icon indicating copy to clipboard operation
cuda-python copied to clipboard

BUG: migrating from 12.6 to 12.8 breaks Python import

Open spec-benno opened this issue 8 months ago • 9 comments

On Linux Ubuntu 22.08, I've recently updated the cuda-python package from 12.6 to 12.8.0 in my Python project and when I'm now trying to do:

from cuda import cuda, cudart, nvrtc

I'm getting the error message:

ImportError: cannot import name 'cuda' from 'cuda' (unknown location)

From the examples in the cuda.bindings package, I see that the same import command is still used.

Since, I'm using RDMA, I haven't tried this on Windows.

spec-benno avatar Feb 27 '25 08:02 spec-benno