-
Notifications
You must be signed in to change notification settings - Fork 97
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
BUG: migrating from 12.6 to 12.8 breaks Python import #476
Comments
I cannot reproduce it (obviously, since our CI definitely got this tested), so...
|
I have an existing virtual environment with cuda-python installed and I simply did a: The
|
Forgot to ask, what's the Python version? Also, with this broken environment, could you check what happens if you do from cuda.bindings import driver as cuda ? (Same for cudart and nvrtc) |
The Python version is 3.10.12 and with the command
ps. small correction I'm using Ubuntu LTS 22.04 |
Okay, I've narrowed it down. It has to do with the migration from 12.6 to 12.8, because when setting up a new Virtual Environment with the same packages both imports work:
Here is the result from the
|
It seems there is a weird cleanup issue going on. With the following steps I hit an error, though different from yours
@spec-benno could you try a complete removal and then reinstall?
and see if it is fixed? |
we were thinking the same thing. Setting up a new environment does the trick, however migrating is still a problem somehow |
I also did the uninstall and reinstall and this works as well, for both import methods. The error you're seeing I've seen as well. |
Reproducer is to change the step 2 above to
This seems like another unexpected issue due to layout change that caused some trouble earlier (ex: #226). I don't think there's any fix we can do but I do want to know what caused package updates dirty (since the old version is uninstalled first before the new version is installed)... |
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:
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.
The text was updated successfully, but these errors were encountered: