PyTorch
| PyTorch | |
|---|---|
| Original author(s) | 
 | 
| Developer(s) | Meta AI | 
| Initial release | September 2016 | 
| Stable release | 2.7.1 
   / 4 June 2025 | 
| Repository | github | 
| Written in | |
| Operating system | |
| Platform | IA-32, x86-64, ARM64 | 
| Available in | English | 
| Type | Library for machine learning and deep learning | 
| License | BSD-3 | 
| Website | pytorch | 
| Part of a series on | 
| Machine learning and data mining | 
|---|
PyTorch is a machine learning library based on the Torch library, used for applications such as computer vision and natural language processing, originally developed by Meta AI and now part of the Linux Foundation umbrella. It is one of the most popular deep learning frameworks, alongside others such as TensorFlow, offering free and open-source software released under the modified BSD license. Although the Python interface is more polished and the primary focus of development, PyTorch also has a C++ interface.
A number of pieces of deep learning software are built on top of PyTorch, including Tesla Autopilot, Uber's Pyro, Hugging Face's Transformers, and Catalyst.
PyTorch provides two high-level features:
- Tensor computing (like NumPy) with strong acceleration via graphics processing units (GPU)
- Deep neural networks built on a tape-based automatic differentiation system