articlearXiv (Cornell University)Dec 3, 2019GREEN OA

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

Indexed inarxivdatacite

Abstract

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…

Citation impact

16,187
total citations
FWCI
Percentile
References
0
Citations per year

Authors

21

Topics & keywords

Keywords
  • Computer science
  • Debugging
  • Python (programming language)
  • Programming style
  • Deep learning
  • Usability
  • Key (lock)
  • Architecture
No related works found for this paper.