PyTorch: An Imperative Style, High-Performance Deep Learning Library

PyTorch: библиотека глубокого обучения с императивным стилем программирования и высокой производительностью
Adam Paszke, Luca Antiga, Soumith Chintala, Zeming Lin, Sam Gross, Benoit Steiner, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Natalia Gimelshein, Alban Desmaison, Andreas Köpf, Edward Z. Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Lu Fang, Junjie Bai
2019-12-03

GPU accelerationPyTorchPythonic programmingdeep learning libraryimperative programming
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.
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.

PyTorch deep learning library

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
Access Type
Author Information
Authors
Adam Paszke
Luca Antiga
Soumith Chintala
Zeming Lin
Sam Gross
Benoit Steiner
Francisco Massa
Adam Lerer
James Bradbury
Gregory Chanan
Trevor Killeen
Natalia Gimelshein
Alban Desmaison
Andreas Köpf
Edward Z. Yang
Zachary DeVito
Martin Raison
Alykhan Tejani
Sasank Chilamkurthy
Lu Fang
Junjie Bai
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat →
Make a presentation
100%