21
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

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

      journal-article

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          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 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.

          Abstract

          12 pages, 3 figures, NeurIPS 2019

          Related collections

          Author and article information

          Journal
          arXiv
          2019
          03 December 2019
          05 December 2019
          December 2019
          Article
          10.48550/ARXIV.1912.01703
          394053c1-f966-4c58-bfa0-8a9cd1899ea4

          arXiv.org perpetual, non-exclusive license

          History

          FOS: Computer and information sciences,Mathematical Software (cs.MS),Machine Learning (cs.LG),Machine Learning (stat.ML)

          Comments

          Comment on this article