PyTorch: An Imperative Style, High-Performance Deep Learning Library
Open accessThe DOI matches its DataCite record; 4 of the 4 references it cites were found in a registry or an index.
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.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Another widely used framework for cyberbullying detection [19,73,168,185] is PyTorch, which is developed based on the Torch [186] library of Lua programming language.”
From A Review on Deep-Learning-Based Cyberbullying Detection (2023) · cites this paper as [185]
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“In general, while JAX is much more high-level than CUDA or Triton (Tillet et al., 2019), it is still much more restrictive than PyTorch (Paszke et al., 2019), can be difficult to debug, and is poorly suited to the heterogeneous computations or conditional branching that are common when implementing environments.”
From XLand-MiniGrid: Scalable Meta-Reinforcement Learning Environments in JAX (2024) · cites this paper as Paszke et al., 2019
Experimental — accuracy not yet measuredThe source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“CPE is dynamically generated with Positional Encoding Generators (PEG) and can be effortlessly implemented by the modern deep learning frameworks (Paszke et al., 2019; Abadi et al., 2016; Chen et al., 2015), requiring no changes to the current Transformer APIs.”
From Conditional Positional Encodings for Vision Transformers (2021) · cites this paper as Paszke et al., 2019
Experimental — accuracy not yet measuredThe cited source says what the claim attributes to it.
In the citing paper
“PyTorch was introduced to combine usability and speed in the same framework (Paszke et al. 2019) for DL tasks.”
From A review of multimodal deep learning methods for genomic-enabled prediction in plant breeding (2024) · cites this paper as Paszke et al. 2019
The cited source says what the claim attributes to it.
In the citing paper
“The implementation is written in Python and leverages widely used open-source libraries including OpenCV [9], PyTorch [10], and Ultralytics YOLO [8].”
From DRIVE-C: A Controlled Corruption Dataset for Autonomous Driving (2026) · cites this paper as [10]
2 more claims about this paper
Create a free account to see every claim other papers make about this one.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
The publisher hasn’t deposited this paper’s reference list.
Research works printed but not linked: 20
- [2][2] Frank Seide and Amit Agarwal. Cntk: Microsoft's open-source deep-learning toolkit. In Proceedings of the 22Nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining , KDD '16, pages 2135-2135, New York, NY, USA, 2016. ACM. -
- [4][4] Theano Development Team. Theano: A Python framework for fast computation of mathematical expressions. arXiv e-prints , abs/1605.02688, May 2016. - · arXiv
- [5][5] Seiya Tokui, Kenta Oono, Shohei Hido, and Justin Clayton. Chainer: a next-generation open source framework for deep learning. In Proceedings of Workshop on Machine Learning Systems (LearningSys) in The Twenty-ninth Annual Conference on Neural Information Processing Systems (NIPS) , 2015. -
- [7][7] G. Neubig, C. Dyer, Y. Goldberg, A. Matthews, W. Ammar, A. Anastasopoulos, M. Ballesteros, D. Chiang, D. Clothiaux, T. Cohn, K. Duh, M. Faruqui, C. Gan, D. Garrette, Y. Ji, L. Kong, A. Kuncoro, G. Kumar, C. Malaviya, P. Michel, Y. Oda, M. Richardson, N. Saphra, S. Swayamdipta, and P. Yin. DyNet: The Dynamic Neural Network Toolkit. ArXiv e-prints , January 2017. -
- [8][8] Philip S. Abrams. An APL Machine . PhD thesis, Stanford University, 1970. -
- [11][11] Jeff Bezanson, Alan Edelman, Stefan Karpinski, and Viral B Shah. Julia: A fresh approach to numerical computing. SIAM review , 59(1):65-98, 2017. -
- [15][15] Atilim Gunes Baydin, Barak A. Pearlmutter, Alexey Andreyevich Radul, and Jeffrey Mark Siskind. Automatic differentiation in machine learning: A survey. J. Mach. Learn. Res. , 18(1):5595-5637, January 2017. -
- [16][16] Dougal Maclaurin. Modeling, Inference and Optimization with Composable Differentiable Procedures . PhD thesis, Harvard University, April 2016. -
- [20][20] Wes McKinney. Data structures for statistical computing in python. In Proceedings of the 9th Python in Science Conference, 51-56 , 2010. -
- [21][21] Pierre Sermanet, Koray Kavukcuoglu, and Yann LeCun. Eblearn: Open-source energy-based learning in c++. In 2009 21st IEEE International Conference on Tools with Artificial Intelligence , pages 693-697. IEEE, 2009. -
- [24][24] Andrew Lavin and Scott Gray. Fast algorithms for convolutional neural networks. 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , pages 4013-4021, 2016. -
- [25][25] Ronan Collobert, Koray Kavukcuoglu, and Clément Farabet. Torch7: A matlab-like environment for machine learning. In NIPS 2011 , 2011. -
- [30][30] Adam Paszke, Sam Gross, Soumith Chintala, Gregory Chanan, Edward Yang, Zachary DeVito, Zeming Lin, Alban Desmaison, Luca Antiga, and Adam Lerer. Automatic differentiation in pytorch. In NIPS Workshop , 2017. -
- [31][31] Dan Piponi. Automatic differentiation, C++ templates, and photogrammetry. J. Graphics, GPU, &Game Tools , 9(4):41-55, 2004. -
- [32][32] Holger Leuck and Hans-Hellmut Nagel. Automatic differentiation facilitates of-integration into steering-angle-based road vehicle tracking. In 1999 Conference on Computer Vision and Pattern Recognition (CVPR '99), 23-25 June 1999, Ft. Collins, CO, USA , pages 2360-2365, 1999. -
- [36][36] G. Synnaeve, Z. Lin, J. Gehring, D. Gant, V. Mella, V. Khalidov, N. Carion, and N. Usunier. Forward modeling for partial observation strategy games - a starcraft defogger. In Advances in Neural Information Processing Systems , pages 10761-10771, 2018. -
- [38][38] Justin Luitjens. Cuda streams. GPU technology conference, 2014. -
- [39][39] Emery D. Berger, Kathryn S. McKinley, Robert D. Blumofe, and Paul R. Wilson. Hoard: A scalable memory allocator for multithreaded applications. In Proceedings of the Ninth International Conference on Architectural Support for Programming Languages and Operating Systems , ASPLOS IX, pages 117-128, New York, NY, USA, 2000. ACM. -
- [40][40] J. Evans. A scalable concurrent malloc(3) implementation for freebsd. In In BSDCan - The Technical BSD Conference , May 2006. -
- [43][43] Matthew Hertz and Emery D. Berger. Quantifying the performance of garbage collection vs. explicit memory management. In Proceedings of the 20th Annual ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications , OOPSLA '05, pages 313-326, New York, NY, USA, 2005. ACM. -
Cited by
Items 1,001–1,100 of 1,573
PubMedCLIP: How Much Does CLIP Benefit Visual Question Answering in the Medical Domain?
Eslami, S., Meinel, C., & de Melo, G. (2023) · Findings of the Association for Computational Linguistics: EACL 2023 · doi:10.18653/v1/2023.findings-eacl.88 · Cited by 167
NetLLM: adapting large language models for networking
Wu, D., Wang, X., Qiao, Y., Wang, Z., Jiang, J., Cui, S., & Wang, F. (2024) · Proceedings of the ACM SIGCOMM 2024 Conference · doi:10.1145/3651890.3672268 · Cited by 167
Learning Graph Embeddings for Compositional Zero-shot Learning
Naeem, M. F., Xian, Y., Tombari, F., & Akata, Z. (2021) · 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr46437.2021.00101 · Cited by 167
“We implement our method in PyTorch[37] and train on a Nvidia V100 GPU.”
MethodBifurcated Backbone Strategy for RGB-D Salient Object Detection
Zhai, Y., Fan, D.-P., Yang, J., Borji, A., Shao, L., Han, J., & Wang, L. (2021) · IEEE Transactions on Image Processing · doi:10.1109/tip.2021.3116793 · Cited by 167
“We use the PyTorch [87] framework to implement our model on a single 1080Ti GPU.”
MethodQuantum convolutional neural networks for high energy physics data analysis
Chen, S. Y.-C., Wei, T.-C., Zhang, C., Yu, H., & Yoo, S. (2022) · Physical Review Research · doi:10.1103/physrevresearch.4.013231 · Cited by 167
(2021) · doi:10.52202/068431-1229 · Cited by 166
BundleSDF: Neural 6-DoF Tracking and 3D Reconstruction of Unknown Objects
Wen, B., Tremblay, J., Blukis, V., Tyree, S., Müller, T., Evans, A., Fox, D., Kautz, J., & Birchfield, S. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.00066 · Cited by 166
Deep learning for recommender systems: A Netflix case study
Steck, H., Baltrunas, L., Elahi, E., Liang, D., Raimond, Y., & Basilico, J. (2021) · AI Magazine · doi:10.1609/aimag.v42i3.18140 · Cited by 166
The LHC Olympics 2020 a community challenge for anomaly detection in high energy physics
Kasieczka, G., Nachman, B., Shih, D., Amram, O., Andreassen, A., Benkendorfer, K., Bortolato, B., Brooijmans, G., Canelli, F., Collins, J. H., et al. (2021) · Reports on Progress in Physics · doi:10.1088/1361-6633/ac36b9 · Cited by 166
Deep metabolome: Applications of deep learning in metabolomics
Pomyen, Y., Wanichthanarak, K., Poungsombat, P., Fahrmann, J., Grapov, D., & Khoomrung, S. (2020) · Computational and Structural Biotechnology Journal · doi:10.1016/j.csbj.2020.09.033 · Cited by 166
“…are increasing for the metabolomics community due to development of neural network frameworks (such as TensorFlow [8,9], Keras [10], PyTorch [11]), simplified interfaces to the frameworks through high-level programing languages (such as Python [12], R [13], MATLAB [14]), and reduction in…”
BackgroundAdversarial Instance Augmentation for Building Change Detection in Remote Sensing Images
Chen, H., Li, W., & Shi, Z. (2022) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2021.3066802 · Cited by 166
“Our models are implemented on a PyTorch DL framework [65] and trained using a single NVIDIA Tesla V100 GPU.”
MethodDNNFusion: accelerating deep neural networks execution with advanced operator fusion
Niu, W., Guan, J., Wang, Y., Agrawal, G., & Ren, B. (2021) · Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation · doi:10.1145/3453483.3454083 · Cited by 166
“More specifically, DNNFusion (also called DNNF for short) is compared against four popular state-of-the-art end-to-end DNN execution frameworks:MNN [29], TVM [12], TensorFlowLite (TFLite) [1], and Pytorch-Mobile (Pytorch) [48].”
BackgroundInfluentialAn empirical characterization of fair machine learning for clinical risk prediction
Pfohl, S. R., Foryciarz, A., & Shah, N. H. (2021) · Journal of Biomedical Informatics · doi:10.1016/j.jbi.2020.103621 · Cited by 164
Fleming, S. J., Chaffin, M. D., Arduini, A., Akkad, A.-D., Banks, E., Marioni, J. C., Philippakis, A. A., Ellinor, P. T., & Babadi, M. (2019) · doi:10.1101/791699 · Cited by 164
Pinheiro Cinelli, L., Araújo Marins, M., Barros da Silva, E. A., & Lima Netto, S. (2021) · Variational Methods for Machine Learning with Applications to Deep Networks · doi:10.1007/978-3-030-70679-1_5 · Cited by 163
Recall and Learn: Fine-tuning Deep Pretrained Language Models with Less Forgetting
Chen, S., Hou, Y., Cui, Y., Che, W., Liu, T., & Yu, X. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.634 · Cited by 163
Low-Light Image Enhancement via Structure Modeling and Guidance
Xu, X., Wang, R., & Lu, J. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.00954 · Cited by 163
Pyramid Constrained Self-Attention Network for Fast Video Salient Object Detection
Gu, Y., Wang, L., Wang, Z., Liu, Y., Cheng, M.-M., & Lu, S.-P. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i07.6718 · Cited by 163
“Our model is built based on pytorch (Paszke et al. 2019) repository.”
MethodIntermediate-Task Transfer Learning with Pretrained Language Models: When and Why Does It Work?
Pruksachatkun, Y., Phang, J., Liu, H., Htut, P. M., Zhang, X., Pang, R. Y., Vania, C., Kann, K., & Bowman, S. R. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.467 · Cited by 162
Condenser: a Pre-training Architecture for Dense Retrieval
Gao, L., & Callan, J. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.75 · Cited by 161
Hebart, M. N., Contier, O., Teichmann, L., Rockter, A. H., Zheng, C. Y., Kidder, A., Corriveau, A., Vaziri-Pashkam, M., & Baker, C. I. (2023) · eLife · doi:10.7554/elife.82580 · Cited by 161
PalmTree: Learning an Assembly Language Model for Instruction Embedding
Li, X., Qu, Y., & Yin, H. (2021) · Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3460120.3484587 · Cited by 161
“We implemented these baseline embedding models and PalmTree using PyTorch [30].”
MethodLearning Temporal Consistency for Low Light Video Enhancement from Single Images
Zhang, F., Li, Y., You, S., & Fu, Y. (2021) · 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr46437.2021.00493 · Cited by 161
“Our training is implemented on Pytorch [21].”
Multimodal Emotion Recognition on RAVDESS Dataset Using Transfer Learning
Luna-Jiménez, C., Griol, D., Callejas, Z., Kleinlein, R., Montero, J. M., & Fernández-Martínez, F. (2021) · Sensors · doi:10.3390/s21227665 · Cited by 161
“For the training of the bi-LSTM with the embeddings extracted from the flattened layer of size 810, we ran experiments with two identical bi-LSTM cells of 50, 150, 200, or 300 neurons and two attention layers.”
MethodA Flexible and Fast PyTorch Toolkit for Simulating Training and Inference on Analog Crossbar Arrays
Rasch, M. J., Moreda, D., Gokmen, T., Le Gallo, M., Carta, F., Goldberg, C., El Maghraoui, K., Sebastian, A., & Narayanan, V. (2021) · 2021 IEEE 3rd International Conference on Artificial Intelligence Circuits and Systems (AICAS) · doi:10.1109/aicas51828.2021.9458494 · Cited by 160
Conwell, C., Prince, J. S., Kay, K. N., Alvarez, G. A., & Konkle, T. (2022) · doi:10.1101/2022.03.28.485868 · Cited by 160
“…a set of 224 distinct models (160 trained; 64 randomly-initialized), sourced from the following repositories: the Torchvision (PyTorch) model zoo (Paszke et al., 2019); the Pytorch-Image-Models (timm) library (Wightman, 2019); the VISSL (self-supervised) model zoo (Goyal et al., 2021); the…”
MethodA Minimalist Approach to Offline Reinforcement Learning
Fujimoto, S., & Gu, S. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2106.06860 · Cited by 160
Attribution Patching Outperforms Automated Circuit Discovery
Syed, A., Rager, C., & Conmy, A. (2024) · Proceedings of the 7th BlackboxNLP Workshop: Analyzing and Interpreting Neural Networks for NLP · doi:10.18653/v1/2024.blackboxnlp-1.25 · Cited by 160
Better Sign Language Translation with STMC-Transformer
Yin, K., & Read, J. (2020) · Proceedings of the 28th International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.525 · Cited by 160
“Our models are built using PyTorch (Paszke et al., 2019) and Open-NMT (Klein et al.”
MethodA deep learning framework for matching of SAR and optical imagery
Hughes, L. H., Marcos, D., Lobry, S., Tuia, D., & Schmitt, M. (2020) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2020.09.012 · Cited by 160
“We make use of the PyTorch deep learning framework (Paszke et al., 2019) to implement all aspects of our proposed pipeline.”
Liang, Y., Ding, Z., Ding, T., & Lee, W.-J. (2021) · IEEE Transactions on Smart Grid · doi:10.1109/tsg.2020.3025082 · Cited by 160
“The BLP problem is written and solved in Python with Gurobi [36], and the neural networks are trained in Python with Pytorch [37], an open source deep learning platform.”
MethodSpatial-Adaptive Network for Single Image Denoising
Chang, M., Li, Q., Feng, H., & Xu, Z. (2020) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-58577-8_11 · Cited by 160
DeepPROTACs is a deep learning-based targeted degradation predictor for PROTACs
Li, F., Hu, Q., Zhang, X., Sun, R., Liu, Z., Wu, S., Tian, S., Ma, X., Dai, Z., Yang, X., et al. (2022) · Nature Communications · doi:10.1038/s41467-022-34807-3 · Cited by 159
Mumuni, A., & Mumuni, F. (2025) · Journal of Information and Intelligence · doi:10.1016/j.jiixd.2024.01.002 · Cited by 159
CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU
Tan, S., Knott, B., Tian, Y., & Wu, D. J. (2021) · 2021 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp40001.2021.00098 · Cited by 159
Geometry-based Distance Decomposition for Monocular 3D Object Detection
Shi, X., Ye, Q., Chen, X., Chen, C., Chen, Z., & Kim, T.-K. (2021) · 2021 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv48922.2021.01489 · Cited by 158
“We implement our method with PyTorch [34] and Detectron2 [46].”
MethodAll Tokens Matter: Token Labeling for Training Better Vision Transformers
Jiang, Z., Hou, Q., Yuan, L., Zhou, D., Shi, Y., Jin, X., Wang, A., & Feng, J. (2021) · arXiv · doi:10.48550/arxiv.2104.10858 · Cited by 158
“All experiments are built and conducted upon Py-Torch [26] and the timm [38] library.”
MethodArtificial Intelligence in Regenerative Medicine: Applications and Implications
Nosrati, H., & Nosrati, M. (2023) · Biomimetics · doi:10.3390/biomimetics8050442 · Cited by 158
SpaText: Spatio-Textual Representation for Controllable Image Generation
Avrahami, O., Hayes, T., Gafni, O., Gupta, S., Taigman, Y., Parikh, D., Lischinski, D., Fried, O., & Yin, X. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.01762 · Cited by 158
TextOCR: Towards large-scale end-to-end reasoning for arbitrary-shaped scene text
Singh, A., Pang, G., Toh, M., Huang, J., Galuba, W., & Hassner, T. (2021) · 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr46437.2021.00869 · Cited by 158
Federated Learning for Internet of Things
Zhang, T., He, C., Ma, T., Gao, L., Ma, M., & Avestimehr, S. (2021) · Proceedings of the 19th ACM Conference on Embedded Networked Sensor Systems · doi:10.1145/3485730.3493444 · Cited by 157
“, Message Queuing Telemetry Transport, a standard for IoT messaging), and customized PyTorch library [13] that can execute primitives of on-device model training such as forward propagation, calculating loss function and back-propagation (Section ??).”
BackgroundA medical multimodal large language model for future pandemics
Liu, F., Zhu, T., Wu, X., Yang, B., You, C., Wang, C., Lu, L., Liu, Z., Zheng, Y., Sun, X., et al. (2023) · npj Digital Medicine · doi:10.1038/s41746-023-00952-2 · Cited by 155
(2022) · doi:10.52202/068431-0433 · Cited by 155
Wu, Z., Trevino, A. E., Wu, E., Swanson, K., Kim, H. J., D’Angio, H. B., Preska, R., Charville, G. W., Dalerba, P. D., Egloff, A. M., et al. (2022) · Nature Biomedical Engineering · doi:10.1038/s41551-022-00951-w · Cited by 154
LUVLi Face Alignment: Estimating Landmarks’ Location, Uncertainty, and Visibility Likelihood
Kumar, A., Marks, T. K., Mou, W., Wang, Y., Jones, M., Cherian, A., Koike-Akino, T., Liu, X., & Feng, C. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.00826 · Cited by 165
SparseBEV: High-Performance Sparse 3D Object Detection from Multi-Camera Videos
Liu, H., Teng, Y., Lu, T., Wang, H., & Wang, L. (2023) · 2023 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.01703 · Cited by 154
“FPS is measured on a single RTX 3090 with the PyTorch fp32 backend.”
PONI: Potential Functions for ObjectGoal Navigation with Interaction-free Learning
Ramakrishnan, S. K., Chaplot, D. S., Al-Halah, Z., Malik, J., & Grauman, K. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01832 · Cited by 154
“We train the model using PyTorch [43] for 3 epochs.”
MethodLearning to Break Deep Perceptual Hashing: The Use Case NeuralHash
Struppek, L., Hintersdorf, D., Neider, D., & Kersting, K. (2022) · 2022 ACM Conference on Fairness Accountability and Transparency · doi:10.1145/3531146.3533073 · Cited by 153
“We used the transformation package of Torchvision [42] to perform all transformations and additionally used im-gaug [27] to investigate the effect of JPEG compression.”
MethodSplicing ViT Features for Semantic Appearance Transfer
Tumanyan, N., Bar-Tal, O., Bagon, S., & Dekel, T. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01048 · Cited by 153
Med-HALT: Medical Domain Hallucination Test for Large Language Models
Pal, A., Umapathi, L. K., & Sankarasubbu, M. (2023) · Proceedings of the 27th Conference on Computational Natural Language Learning (CoNLL) · doi:10.18653/v1/2023.conll-1.21 · Cited by 152
Contrastive Predictive Coding for Human Activity Recognition
Haresamudram, H., Essa, I., & Plötz, T. (2021) · Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies · doi:10.1145/3463506 · Cited by 150
“We implemented our framework using PyTorch [60].”
Integrated intracellular organization and its variations in human iPS cells
Viana, M. P., Chen, J., Knijnenburg, T. A., Vasan, R., Yan, C., Arakaki, J. E., Bailey, M., Berry, B., Borensztejn, A., Brown, E. M., et al. (2023) · Nature · doi:10.1038/s41586-022-05563-7 · Cited by 132
Feng, S., Park, C. Y., Liu, Y., & Tsvetkov, Y. (2023) · Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2023.acl-long.656 · Cited by 149
Putting the Object Back into Video Object Segmentation
Cheng, H. K., Oh, S. W., Price, B., Lee, J.-Y., & Schwing, A. (2024) · 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52733.2024.00304 · Cited by 148
Masked reconstruction based self-supervision for human activity recognition
Haresamudram, H., Beedu, A., Agrawal, V., Grady, P. L., Essa, I., Hoffman, J., & Plötz, T. (2020) · Proceedings of the 2020 International Symposium on Wearable Computers · doi:10.1145/3410531.3414306 · Cited by 146
“We implemented the proposed method and related baselines using PyTorch [24].”
MethodEfficient Attentions for Long Document Summarization
Huang, L., Cao, S., Parulian, N., Ji, H., & Wang, L. (2021) · Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies · doi:10.18653/v1/2021.naacl-main.112 · Cited by 146
SGLang: Efficient Execution of Structured Language Model Programs
Zheng, L., Yin, L., Xie, Z., Sun, C., Huang, J., Yu, C. H., Cao, S., Kozyrakis, C., Stoica, I., Gonzalez, J. E., et al. (2023) · arXiv · doi:10.48550/arxiv.2312.07104 · Cited by 145
“SGLang is implemented in PyTorch [37] with custom CUDA kernels from FlashInfer [59] and Triton [48].”
Pic2Word: Mapping Pictures to Words for Zero-shot Composed Image Retrieval
Saito, K., Sohn, K., Zhang, X., Li, C.-L., Lee, C.-Y., Saenko, K., & Pfister, T. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52729.2023.01850 · Cited by 145
Wortsman, M., Ramanujan, V., Liu, R., Kembhavi, A., Rastegari, M., Yosinski, J., & Farhadi, A. (2020) · arXiv · doi:10.48550/arxiv.2006.14769 · Cited by 144
“It is easy to ensure that gv = 0 for all v 6∈ S with a modern neural network library like PyTorch [36] as detaching4 the outputs from the neurons v 6∈ S prevents gradient signal from reaching them.”
BackgroundInfluentialKuang, W., Qian, B., Li, Z., Chen, D., Gao, D., Pan, X., Xie, Y., Li, Y., Ding, B., & Zhou, J. (2024) · Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining · doi:10.1145/3637528.3671573 · Cited by 142
PyTorchFI: A Runtime Perturbation Tool for DNNs
Mahmoud, A., Aggarwal, N., Nobbe, A., Vicarte, J. R. S., Adve, S. V., Fletcher, C. W., Frosio, I., & Hari, S. K. S. (2020) · 2020 50th Annual IEEE/IFIP International Conference on Dependable Systems and Networks Workshops (DSN-W) · doi:10.1109/dsn-w50199.2020.00014 · Cited by 140
“At a system level, PyTorchFI is a lightweight tool built on top of PyTorch [31] which enables perturbations on weights and neurons of DNN models for perturbation analysis with use cases including hardware resiliency, adversarial attacks, robust DNN de-sign, and intepretability.”
MethodChakraborty, I., Ali, M., Ankit, A., Jain, S., Roy, S., Sridharan, S., Agrawal, A., Raghunathan, A., & Roy, K. (2020) · Proceedings of the IEEE · doi:10.1109/jproc.2020.3003007 · Cited by 140
“One approach to perform this is functionally abstract the nonideal MVM operation and integrate it into existing ML frameworks (such as PyTorch [127], Tensor-flow [128], and Caffe [129]).”
MethodToken Merging: Your ViT But Faster
Bolya, D., Fu, C.-Y., Dai, X., Zhang, P., Feichtenhofer, C., & Hoffman, J. (2022) · arXiv · doi:10.48550/arxiv.2210.09461 · Cited by 140
“D IMPLEMENTATION The following is an implementation of our “bipartite soft matching” in PyTorch (Paszke et al., 2019): def bipartite_soft_matching(k: torch.”
Planning with Diffusion for Flexible Behavior Synthesis
Janner, M., Du, Y., Tenenbaum, J. B., & Levine, S. (2022) · arXiv · doi:10.48550/arxiv.2205.09991 · Cited by 140
Investigating Self-Supervised Front Ends for Speech Spoofing Countermeasures
Wang, X., & Yamagishi, J. (2022) · The Speaker and Language Recognition Workshop (Odyssey 2022) · doi:10.21437/odyssey.2022-14 · Cited by 138
Joo, S., Ko, E. S., Kwon, S., Jeon, E., Jung, H., Kim, J.-Y., Chung, M. J., & Im, Y.-H. (2021) · Scientific Reports · doi:10.1038/s41598-021-98408-8 · Cited by 137
AlphaFold2-aware protein–DNA binding site prediction using graph transformer
Yuan, Q., Chen, S., Rao, J., Zheng, S., Zhao, H., & Yang, Y. (2022) · Briefings in Bioinformatics · doi:10.1093/bib/bbab564 · Cited by 137
Convolutions are competitive with transformers for protein sequence pretraining
Yang, K. K., Fusi, N., & Lu, A. X. (2024) · Cell Systems · doi:10.1016/j.cels.2024.01.008 · Cited by 137
Tenney, I., Wexler, J., Bastings, J., Bolukbasi, T., Coenen, A., Gehrmann, S., Jiang, E., Pushkarna, M., Radebaugh, C., Reif, E., et al. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations · doi:10.18653/v1/2020.emnlp-demos.15 · Cited by 138
“They communicate through standard Python and NumPy types, making LIT compatible with most common modeling frameworks, including TensorFlow (Abadi et al., 2015) and PyTorch (Paszke et al., 2019).”
MethodNetKet 3: Machine Learning Toolbox for Many-Body Quantum Systems
Vicentini, F., Hofmann, D., Szabó, A., Wu, D., Roth, C., Giuliani, C., Pescia, G., Nys, J., Vargas-Calderón, V., Astrakhantsev, N., et al. (2022) · SciPost Physics Codebases · doi:10.21468/scipostphyscodeb.7 · Cited by 135
“A complication often encountered when working with NQS is, however, that standard ML frameworks like TensorFlow [33] or PyTorch [34] are not geared towards these kind of quan-”
BackgroundM3T: three-dimensional Medical image classifier using Multi-plane and Multi-slice Transformer
Jang, J., & Hwang, D. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.02006 · Cited by 133
Connectome-constrained networks predict neural activity across the fly visual system
Lappalainen, J. K., Tschopp, F. D., Prakhya, S., McGill, M., Nern, A., Shinomiya, K., Takemura, S.-Y., Gruntman, E., Macke, J. H., & Turaga, S. C. (2024) · Nature · doi:10.1038/s41586-024-07939-3 · Cited by 128
“The decoder uses PyTorch-native implementations for 2D convolutions, batch normalization, softplus activation and dropout.”
MethodInfluentialYao.jl: Extensible, Efficient Framework for Quantum Algorithm Design
Luo, X.-Z., Liu, J.-G., Zhang, P., & Wang, L. (2020) · Quantum · doi:10.22331/q-2020-10-11-341 · Cited by 157
“In order to evaluate gradients via the automatic differentiation, machine learning packages [21–26] construct computational graphs in various ways.”
BackgroundMethodFusionM4Net: a multi-stage multi-modal learning algorithm for multi-label skin lesion classification
Tang, P., Yan, X., Nan, Y., Xiang, S., Krammer, S., & Lasser, T. (2022) · Medical Image Analysis · doi:10.1016/j.media.2021.102307 · Cited by 131
Contrastive learning based self-supervised time-series analysis
Pöppelbaum, J., Chadha, G. S., & Schwung, A. (2022) · Applied Soft Computing · doi:10.1016/j.asoc.2021.108397 · Cited by 131
SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot
Frantar, E., & Alistarh, D. (2023) · arXiv · doi:10.48550/arxiv.2301.00774 · Cited by 131
Open-Domain Question Answering Goes Conversational via Question Rewriting
Anantha, R., Vakulenko, S., Tu, Z., Longpre, S., Pulman, S., & Chappidi, S. (2021) · Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies · doi:10.18653/v1/2021.naacl-main.44 · Cited by 130
A foundation model of transcription across human cell types
(2025) · doi:10.1038/s41586-024-08391-z · Cited by 130
A Deeper Look at Machine Learning-Based Cryptanalysis
Benamira, A., Gerault, D., Peyrin, T., & Tan, Q. Q. (2021) · Lecture Notes in Computer Science · doi:10.1007/978-3-030-77870-5_28 · Cited by 130
Partial success in closing the gap between human and machine vision
Geirhos, R., Narayanappa, K., Mitzkus, B., Thieringer, T., Bethge, M., Wichmann, F. A., & Brendel, W. (2021) · arXiv · doi:10.48550/arxiv.2106.07411 · Cited by 129
Adaptive Multilayer Perceptual Attention Network for Facial Expression Recognition
Liu, H., Cai, H., Lin, Q., Li, X., & Xiao, H. (2022) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2022.3165321 · Cited by 129
Luo, X., Wang, G., Song, T., Zhang, J., Aertsen, M., Deprest, J., Ourselin, S., Vercauteren, T., & Zhang, S. (2021) · Medical Image Analysis · doi:10.1016/j.media.2021.102102 · Cited by 126
“We implemented the U-Net and 3D U-Net for 2D and 3D images segmentation by Pytorch (Paszke et al., 2019), respectively.”
MethodZhou, H.-Y., Chen, X., Zhang, Y., Luo, R., Wang, L., & Yu, Y. (2022) · Nature Machine Intelligence · doi:10.1038/s42256-021-00425-9 · Cited by 126
“We use PyTorch 37 and NVIDIA Apex for mixed-precision training 38 .”
MethodPrivacy-preserving neural networks with Homomorphic encryption: Challenges and opportunities
Pulido-Gaytan, B., Tchernykh, A., Cortés-Mendoza, J. M., Babenko, M., Radchenko, G., Avetisyan, A., & Drozdov, A. Y. (2021) · Peer-to-Peer Networking and Applications · doi:10.1007/s12083-021-01076-8 · Cited by 126
“For studying purposes, we use PyTorch [107] as a representative ML tool.”
MethodAdaptive Quantization of Model Updates for Communication-Efficient Federated Learning
Jhunjhunwala, D., Gadhikar, A., Joshi, G., & Eldar, Y. C. (2021) · ICASSP 2021 - 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp39728.2021.9413697 · Cited by 126
“All experiments were implemented in PyTorch [23] with a ‘gloo’ distributed backend on a NVIDIA TitanX GPU.”
MethodBreastScreening-AI: Evaluating medical intelligent agents for human-AI interactions
Calisto, F. M., Santiago, C., Nunes, N., & Nascimento, J. C. (2022) · Artificial Intelligence in Medicine · doi:10.1016/j.artmed.2022.102285 · Cited by 125
Neural scaling of deep chemical models
Frey, N. C., Soklaski, R., Axelrod, S., Samsi, S., Gómez-Bombarelli, R., Coley, C. W., & Gadepally, V. (2023) · Nature Machine Intelligence · doi:10.1038/s42256-023-00740-3 · Cited by 125
Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learning
Zheng, L., Li, Z., Zhang, H., Zhuang, Y., Chen, Z., Huang, Y., Wang, Y., Xu, Y., Zhuo, D., Xing, E. P., et al. (2022) · arXiv · doi:10.48550/arxiv.2201.12023 · Cited by 124
Knowledge-Augmented Language Model Prompting for Zero-Shot Knowledge Graph Question Answering
Baek, J., Aji, A. F., & Saffari, A. (2023) · Proceedings of the 1st Workshop on Natural Language Reasoning and Structured Explanations (NLRSE) · doi:10.18653/v1/2023.nlrse-1.7 · Cited by 124
De Novo Design of New Chemical Entities for SARS-CoV-2 Using Artificial Intelligence
Bung, N., Krishnan, S. R., Bulusu, G., & Roy, A. (2021) · Future Medicinal Chemistry · doi:10.4155/fmc-2020-0262 · Cited by 118
Synergies Between Affordance and Geometry: 6-DoF Grasp Detection via Implicit Representations
Jiang, Z., Zhu, Y., Svetlik, M., Fang, K., & Zhu, Y. (2021) · Robotics: Science and Systems XVII · doi:10.15607/rss.2021.xvii.024 · Cited by 122
Kalapaaking, A. P., Khalil, I., & Yi, X. (2024) · IEEE Transactions on Emerging Topics in Computing · doi:10.1109/tetc.2023.3268186 · Cited by 122
“The federated learning application is developed using PyTorch [26].”
MethodSynergies Between Affordance and Geometry: 6-DoF Grasp Detection via Implicit Representations
Jiang, Z., Zhu, Y., Svetlik, M., Fang, K., & Zhu, Y. (2021) · arXiv · doi:10.48550/arxiv.2104.01542 · Cited by 122
“The final loss is simply the direct sum of the affordance loss and geometry loss: We implement the models with Pytorch [41] and train the models with the Adam optimizer [23] and a learning rate of 2 × 10 − 4 and batch sizes of 32.”
MethodDeepAID: Interpreting and Improving Deep Learning-based Anomaly Detection in Security Applications
Han, D., Wang, Z., Chen, W., Zhong, Y., Wang, S., Zhang, H., Yang, J., Shi, X., & Yin, X. (2021) · Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security · doi:10.1145/3460120.3484589 · Cited by 121
“, PyTorch [40]) set the embedding layer to be indifferentiable.”
BackgroundDetect and locate: Exposing face manipulation by semantic-and noise-level telltales
Kong, C., Chen, B., Li, H., Wang, S., Rocha, A., & Kwong, S. (2022) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2022.3169921 · Cited by 120
“The proposed framework is implemented by Pytorch [41].”
MethodProtein embeddings and deep learning predict binding residues for various ligand classes
(2021) · doi:10.1038/s41598-021-03431-4 · Cited by 120
Machine Unlearning of Features and Labels
Warnecke, A., Pirch, L., Wressnegger, C., & Rieck, K. (2021) · arXiv · doi:10.48550/arxiv.2108.11577 · Cited by 119
The AI Scientist: Towards Fully Automated Open-Ended Scientific Discovery
Lu, C., Lu, C., Lange, R. T., Foerster, J., Clune, J., & Ha, D. (2024) · arXiv · doi:10.48550/arxiv.2408.06292 · Cited by 118
Token Merging for Fast Stable Diffusion
Bolya, D., & Hoffman, J. (2023) · 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW) · doi:10.1109/cvprw59228.2023.00484 · Cited by 115
Beyond the Prior Forgery Knowledge: Mining Critical Clues for General Face Forgery Detection
Luo, A., Kong, C., Huang, J., Hu, Y., Kang, X., & Kot, A. C. (2024) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2023.3332218 · Cited by 115
Metadata
- Authors
- Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Köpf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., & Chintala, S.
- ORCID
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2019
- Volume
- 32
- Pages
- 8026-8037
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 1912.01703
- OpenAlex
- W2970971581
- Cited by
- 31,473
- References
- 0
- Citations by year
- 2026: 316 · 2025: 3767 · 2024: 6525 · 2023: 6730 · 2022: 5666 · 2021: 5765 · 2020: 2608 · 2019: 80
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Locations
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Physical Sciences › Computer Science › Software › Computational Physics and Python Applications
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Keywords
- PyTorch, deep learning framework, imperative programming, Python, GPU acceleration, runtime performance, debugging, software architecture, hardware accelerators
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.