CuPy – NumPy-compatible matrix library accelerated by CUDA
cupy.chainer.org
CuPy – NumPy-compatible matrix library accelerated by CUDA
1–10 of 36 posts
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#2Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#3Not 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.
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#4Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#5Not 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.
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 faster than even NVIDIA's optimized cuDNN LSTM whilst getting the same (or better) performance for many tasks.
CuPy at the time was both the easiest and most Pythonic of potential solutions for that problem - even if it did involve writing CUDA in Python strings =]
n.b. Our use case was literally pushing state of the art in research - CuPy is even more Pythonic if you're hitting more standard use cases.
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#6I've used PyCUDA for a very long time. You can use Cython/ctypes/cffi to pass PyCUDA arrays to standard C/CUDA code.
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#7Not 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.
Did you see the « NumPy compatible » part of the title?
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#8Earlier 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.
Re: CuPy – NumPy-compatible matrix library accelerated by CUDA
#9Cool I wish that other libraries like tensorflow could get cudnn installed automatically like this library!