CUDA Python 13.0.1 on CUDA 13.0 Update 1 if have problem with python -c "from cuda import cuda; print(cuda.cuInit(0))" #996
-
|
Hi, when install directly form nvidia repo CUDA-Python 13.0.1 on Cuda 13.0 Update 1 simple python script fails python -c "from cuda import cuda; print(cuda.cuInit(0))" i find this error when compile flashinfer-python in this moment only solution is return to cuda-python==12.9.2 or update python call to: python -c "from cuda.bindings import driver; print(driver.cuInit(0))" this is log and example. INSTALL CUDA-PYTHON 13.0.1 FAILED SCRIPT WITH CORRECT NEW SINTAX: REINSTALL OLD VERSION: SUCCESS SCRIPT: python -c "from cuda import cuda; print(cuda.cuInit(0))" |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
@DrStone71 as shown in |
Beta Was this translation helpful? Give feedback.
-
|
Please see #75 or the warning message. We have dropped the support for old layout (ex: from cuda import cuda) starting 13.0.0. |
Beta Was this translation helpful? Give feedback.
@DrStone71 as shown in
FutureWarningfrom the success script: doingfrom cuda import cudawas deprecated in12.9and was removed in13.0. You should usefrom cuda.bindings import driver as cudainstead if you wish to continue usingcudaas the module name.