rapidsai / cucim

cuCIM - RAPIDS GPU-accelerated image processing library
https://docs.rapids.ai/api/cucim/stable/
Apache License 2.0
342 stars 59 forks source link

introduce temporary compatibility fixes to allow tests to pass with NumPy 2.0 and CuPy 13.2 #761

Closed grlee77 closed 1 month ago

grlee77 commented 1 month ago

This MR introduces some workarounds for use of scalar random seeds in cupy.random functions, cupy.full and cupy.full_like. These issues are being fixed in CuPy itself for upcoming release 13.3, but these changes will allow using 13.2 in the meantime.

I tested this by running the tests locally using CuPy 13.2 and NumPy 2.0.1.

grlee77 commented 1 month ago

Closing as CuPy 13.3 should be out later this week, making these changes unnecessary