3 ms·
In case anybody else was wondering, since this isn't in the fine article: "PyTorch is a Python package that provides two high-level features: * Tensor computa
by wpietri 8y ago
In case anybody else was wondering, since this isn't in the fine article:
"PyTorch is a Python package that provides two high-level features:
* Tensor computation (like NumPy) with strong GPU acceleration
* Deep neural networks built on a tape-based autograd system
You can reuse your favorite Python packages such as NumPy, SciPy and Cython to extend PyTorch when needed."
- gnulinux 8y agoML noob hobbyist here. Would you use PyTorch for models not involving deep neural networks too or is it just good for that. Say if I use linear models (like least squares etc) or use custom algorithms (integer linear programming, optimization, or something else...) but need very fast linear algebra support is PyTorch a good lib? I'm a C kinda guy so I usually use blas, lapack etc or numpy+pandas+sklearn in python. Would PyTorch give a "complete" enough feel or would I just use it only for nn and use other libraries for other things?
- p1esk 8y agoPyTorch uses CuBLAS [1] under the hood, among other libraries, so basic linear algebra ops should be fast. You might also look at CuPy [2], especially if you like NumPy. [1] https://developer.nvidia.com/cublas https://developer.nvidia.com/cublas [2] https://cupy.chainer.org/ https://cupy.chainer.org/