PyTorch: An Imperative Style, High-Performance Deep Learning Library
PyTorch: библиотека глубокого обучения с императивным стилем программирования и высокой производительностью
2019-12-03
SCID: 54.1/wdwew8er
Discuss with AI
GPU accelerationPyTorchPythonic programmingdeep learning libraryimperative programming
Figures from the paper
Abstract (AI)
Deep learning frameworks have often focused on either usability or speed, but not both. PyTorch is a machine learning library that shows that these two goals are in fact compatible: it provides an imperative and Pythonic programming style that supports code as a model, makes debugging easy and is consistent with other popular scientific computing libraries, while remaining efficient and supporting hardware accelerators such as GPUs. In this paper, we detail the principles that drove the implementation of PyTorch and how they are reflected in its architecture. We emphasize that every aspect of PyTorch is a regular Python program under the full control of its user. We also explain how the careful and pragmatic implementation of the key components of its runtime enables them to work together to achieve compelling performance. We demonstrate the efficiency of individual subsystems, as well as the overall speed of PyTorch on several common benchmarks.
Key Findings
1
Every aspect of PyTorch operates as a regular Python program under user control, enabling flexible and transparent development.
2
Its imperative, Pythonic programming style treats code as a model, simplifies debugging, and aligns with scientific computing libraries.
3
PyTorch demonstrates that usability and high performance can coexist within a deep learning framework.
4
PyTorch supports hardware accelerators such as GPUs while maintaining efficient runtime execution through carefully integrated components.
5
Subsystem evaluations and common benchmarks demonstrate compelling overall speed and efficiency.
Research Object
PyTorch deep learning library
Research Subject
the library’s imperative Pythonic programming model, runtime architecture, usability, and computational performance, including GPU-accelerated benchmark efficiency
Publication Details
Publication Date
2019-12-03
Journal
Publisher
ISSN
Cited by
16139
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest
Cited by12
Array programming with NumPy2020
Advances and Open Problems in Federated Learning2020
Albumentations: Fast and Flexible Image Augmentations2020
Artificial intelligence: A powerful paradigm for scientific research2021
Dense Nested Attention Network for Infrared Small Target Detection2022
Efficient Deep Learning: A Survey on Making Deep Learning Models Smaller, Faster, and Better2023
Explainability in Graph Neural Networks: A Taxonomic Survey2022
Artificial intelligence in drug discovery: recent advances and future perspectives2021
The language of proteins: NLP, machine learning & protein sequences2021
Federated learning enables big data for rare cancer boundary detection2022
Mnemonics Training: Multi-Class Incremental Learning Without Forgetting2020
Estimation of continuous valence and arousal levels from faces in naturalistic conditions2021