Exploring TensorRT to Improve Real-Time Inference for Deep Learning
Authors:
- 1 December 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 2011-2018
Abstract
Deep learning (DL) has dramatically evolved and become one of the most successful machine learning techniques. A variety of DL-enabled applications have been widely integrated into software systems, including embedded ones. Although having achieved very successful results in accuracy, the large size of deep neural networks could require significant runtime and computing resource consumption. To overcome these drawbacks, TensorRT has been developed and may be incorporated into popular DL frameworks such as PyTorch and Open Neural Network Exchange (ONNX). In this paper, focusing on inference, we provide a comprehensive evaluation on the performances of TensorRT. Specifically, we evaluate inference output validation, inference time, inference throughput, and GPU memory usage. Our results demonstrate that TensorRT is able to significantly improve the inference efficiency metrics without compromising inference accuracy. Furthermore, TensorRT may be adopted via several alternative workflows. Our evaluation also shows the pros and cons of these TensorRT workflows. We analyze that for each workflow and discuss the workflow selection for different application scenarios.Keywords
Funding Information
- NSF (CNS-2104181)
- Texas State University
This publication has 7 references indexed in Scilit:
- A Deep Learning Framework Performance Evaluation to Use YOLO in Nvidia Jetson PlatformApplied Sciences, 2022
- Deep Learning Inference Parallelization on Heterogeneous Processors With TensorRTIEEE Embedded Systems Letters, 2021
- On the Dangers of Stochastic Parrots2021
- Reviewing inference performance of state-of-the-art deep learning frameworks2020
- Deep Learning at Scale on NVIDIA V100 Accelerators2018
- Progressive Neural Architecture Search2018
- Deep Residual Learning for Image Recognition2016