Hello,As per the discussion on the Debian Science mailing list, CuPy also has an AMD ROCm backend [1]. I believe all required components for building CuPy for AMD hardware are currently available on Debian Sid. The ROCm version of CuPy could therefore be available in main rather than contrib (as would be required for the NVIDIA backend).
Sincerely, Cory Bloor [1]: https://lists.debian.org/debian-science/2024/06/msg00033.html