Earlier quoted context omitted.
Did you see the « NumPy compatible » part of the title?
It is "highly compatible", similar statement can be made about other libs say torch tensors.
CuPy – NumPy-compatible matrix library accelerated by CUDA
11–20 of 36 posts
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#12Cool I wish that other libraries like tensorflow could get cudnn installed automatically like this library!
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#13Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#14It takes a couple of microseconds just to start a kernel much less the time it takes to transfer data back and forth.
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#15Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#16I’m working with Numba’s CUDA API and it works well as a drop in replacement for embarrassingly parallel functions.
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#17Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#18Not sure what is the motivation behind this library. There are already several array GPU accelerated array libraries -- PyTorch, TensorFlow, ArrayFire, it even looks like pycuda has a small array class.
Chainer and potentially CuPy (which was extracted from Chainer to be independent) were around before PyTorch as it served as inspiration for PyTorch. I feel like that's a good motivation for diversity in packages and ecosystems regardless of your feelings otherwise. Along with a colleague I used CuPy in first Chainer and then PyTorch for implementing the Quasi-Recurrent Neural Network (QRNN) which at the time was far…
I continue to have more sympathies for chainer.
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#19The problem I see with trying to emulate NumPy with a GPU accelerated version is that the communication overhead to the GPU is so high that you are losing a lot of performance as opposed to something like TensorFlow. It takes a couple of microseconds just to start a kernel much less the time it takes to transfer data back and forth.
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#20Can you use Pandas with it? I'm guessing.. no?
[0] https://tomaugspurger.github.io/pandas-extension-arrays.html