News for hackers. Stuff that matters.
Re:CuPy: NumPy and SciPy for GPU by curvilinear_m on Friday September 20, 2024 @01:02PM (#41603784)
I'm surprised to see pytorch and Jax mentioned as alternatives but not numba : https://github.com/numba/numba

I've recently had to implement a few kernels to lower the memory footprint and runtime of some pytorch function : it's been really nice because numba kernels have type hints support (as opposed to raw cupy kernels).

Re:CuPy: NumPy and SciPy for GPU by killingtime74 on Friday September 20, 2024 @05:07PM (#41605512)
Numba doesn't support GPU though
Re:CuPy: NumPy and SciPy for GPU by catshamando on Friday September 20, 2024 @05:14PM (#41605563)
Re:CuPy: NumPy and SciPy for GPU by killingtime74 on Friday September 20, 2024 @07:33PM (#41606372)
ah thanks, TIL
Re:CuPy: NumPy and SciPy for GPU by the_svd_doctor on Friday September 20, 2024 @05:51PM (#41605822)
It does (for NVIDIA at least)