cuda-bindings 13.1.0 Release notes¶
Released on Dec 4, 2025
Highlights¶
Add support for new APIs introduced in CUDA 13.1.
The
cufile.readandcufile.writefunctions now return the number of bytes read or written (ssize_t) instead of returningNone, providing better feedback on I/O operations.Improved performance of cuFile bindings with approximately 60x faster construction and member access for generated low-level classes.
Added
__cuda_stream__protocol support todriver.CUStreamclass, enabling better interoperability with libraries that expect this protocol.Upgraded Cython dependency to version 3.2.
Python 3.9 support was dropped (end of life).
Bug fixes¶
Fixed
cuStreamBeginCaptureToGraphto allow thedependencyDataargument to be optional, matching the underlying CUDA API behavior.
Backward incompatible changes¶
Additionally, cufile.StatsLevel3.per_gpu_stats no longer returns a singleton that must be manually converted to a Numpy array, instead it returns a cufile.PerGpuStats array which is directly addressable.
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.The graphics APIs in
cuda.bindings.runtimeare inadvertently disabled in 13.0.2. Users needing these APIs should update to 13.0.3.