cuda-bindings 12.X.Y Release notes¶
Released on MM DD, 2025
Highlights¶
A utility module
cuda.bindings.utilsis addedUsing
int(cuda_obj)to retrieve the underlying address of a CUDA object is deprecated and subject to future removal. Please switch to useget_cuda_native_handle()instead.
The
cuda.bindings.cufilePython module was added, wrapping the cuFile C APIs. Supported on Linux only.Currently using this module requires NumPy to be present. Any recent NumPy 1.x or 2.x should work.
Python bindings in every module, including
driver,runtime, andnvrtc, now have the GIL released before calling the underlying C APIs.The Python overhead of calling functions in CUDA bindings in
driver,runtimeandnvrtchas been reduced by approximately 30%.
Bug fixes¶
Miscellaneous¶
Added PTX utilities including
get_minimal_required_cuda_ver_from_ptx_ver()andget_ptx_ver().Common CUDA objects such as
cudaStream_tnow compare equal if the underlying address is the same.
Known issues¶
Updating from older versions (v12.6.2.post1 and below) via
pip install -U cuda-pythonmight not work. Please do a clean re-installation by uninstallingpip uninstall -y cuda-pythonfollowed by installingpip install cuda-python.