Deep Learning

PyTorch – deep learning framework for fast, flexible experimentation

PyTorch is an open source Python package that provides two high-level features:

  • Tensor computation (like NumPy) to use the power of GPUs.
  • Deep Neural Networks built on a tape-based autodiff system that offers flexibility and speed.

Torch is a tensor library for manipulating multidimensional matrices of data employed in machine learning and many other math-intensive applications.

PyTorch provides libraries for basic tensor manipulation on CPUs or GPUs, a built-in neural network library, model training utilities, and a multiprocessing library that can work with shared memory.

Reuse popular Python packages such as NumPy, SciPy and Cython to extend PyTorch when needed.

Key Features

  • Intuitive, linear in thought and easy to use.
  • Excellent Python integration, imperative style, simplicity of the API and options.
  • PyTorch’s Tensor API is designed to be straightforward and with minimal abstractions.
  • GPU-ready tensor library – provides Tensors (ndarray) that can live either on the CPU or the GPU.
  • Autograd module – a tape-based automatic differentiation library that supports all differentiable Tensor operations in torch. It uses a technique called reverse-mode auto-differentiation, which allows you to change the way your network behaves arbitrarily with zero lag or overhead. This technique is especially powerful when building neural networks in order to save time on one epoch by calculating differentiation of the parameters at the forward pass itself.
  • Optim module – implements various optimization algorithms used for building neural networks.
  • nn module – a neural networks library deeply integrated with autograd designed for maximum flexibility.
  • Minimal framework overhead. The software integrates acceleration libraries such as Intel MKL and NVIDIA (cuDNN, NCCL) to maximize speed.
  • Efficient memory usage.

Website: pytorch.org
Support: Blog, GitHub Code Repository
Developer: PyTorch core team
License: Standard BSD-3 license

PyTorch is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Deep Learning with Python
TensorFlowA very popular Deep Learning framework
PyTorchTensors and Dynamic neural networks in Python
KerasHigh-level neural networks API
fastaiSimplifies training fast and accurate neural networks
tinygradCompact, lightweight deep learning framework
PyTorch LightningFramework for scaling PyTorch training workflows
JAXHigh-performance numerical computing and ML library
PyTensorLibrary for fast numerical computation
MindSporeFramework for training and deploying neural networks
ElephasDistributed deep learning with Keras and Spark
ChainerPowerful, flexible, and intuitive framework for neural networks
EquinoxNeural network library for building flexible models with JAX
CaffeConvolutional Architecture for Fast Feature Embedding
TFlearnDeep learning library featuring a higher-level API for TensorFlow
MXNetFlexible and efficient library
CNTKDistributed deep learning
NeupyPython library for neural networks and deep learning

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted