Efficient single- and multi-DNN inference using TensorRT framework

计算机科学 吞吐量 深层神经网络 推论 调度(生产过程) 库达 人工神经网络 人工智能 并行计算 操作系统 无线 运营管理 经济
作者
Vyacheslav Zhdanovskiy,Lev Teplyakov,Philipp Belyaev
标识
DOI:10.1117/12.3023487
摘要

In the recent years, there has been a significant growth of interest in real-world systems based on deep neural networks (DNNs). These systems typically incorporate multiple DNNs running simultaneously. In this paper we propose a novel approach of multi-DNN execution on a single GPU using multiple CUDA contexts and TensorRT, state-of-the-art DNN inference framework. We show that it can lead to more efficient scheduling of multiple DNNs, especially in case when a lightweight and a heavy DNNs are inferred together. We show that our approach can provide an almost 7x increase in the throughput of a lightweight DNN at the cost of neglible throughput drop of a heavy DNN, compared to the baseline. Moreover, we compare two ways of improving throughput of a single DNN by processing multiple images together: standard batching and implicit batching by processing multiple images simultaneously using several TensorRT execution contexts. We show that meanwhile standard batching outperforms implicit batching at larger batch sizes, implicit batching can provide up to 43% more throughput for a smaller DNN using smaller batch size.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
zyw完成签到 ,获得积分10
刚刚
完美的水杯完成签到 ,获得积分10
刚刚
搞怪的白云完成签到 ,获得积分10
1秒前
2秒前
Owen应助翁sir采纳,获得10
4秒前
5秒前
小张吃不胖完成签到 ,获得积分10
5秒前
夏熠完成签到,获得积分10
7秒前
7秒前
7秒前
孙非完成签到,获得积分10
8秒前
迷你的雁枫完成签到 ,获得积分10
8秒前
向北游发布了新的文献求助10
9秒前
勤奋的凌翠完成签到 ,获得积分10
10秒前
zhangguo完成签到 ,获得积分10
10秒前
莫之白完成签到,获得积分10
12秒前
1b完成签到,获得积分10
12秒前
郑珩发布了新的文献求助10
12秒前
清秀龙猫完成签到 ,获得积分10
13秒前
量子星尘发布了新的文献求助10
14秒前
小文子完成签到,获得积分10
15秒前
K珑完成签到,获得积分10
16秒前
fwb完成签到,获得积分10
17秒前
淡定访琴完成签到,获得积分10
17秒前
Fazie完成签到 ,获得积分10
20秒前
1r完成签到,获得积分10
22秒前
23秒前
24秒前
hyxxx完成签到,获得积分10
27秒前
肥仔发布了新的文献求助20
27秒前
asdfgjjul完成签到,获得积分10
27秒前
犹豫如蓉完成签到 ,获得积分10
29秒前
华姝发布了新的文献求助10
30秒前
zero完成签到,获得积分10
30秒前
吕景宽完成签到,获得积分10
30秒前
量子星尘发布了新的文献求助10
32秒前
大气白翠完成签到,获得积分10
33秒前
魑魅魍魉999完成签到 ,获得积分10
33秒前
华姝完成签到,获得积分10
35秒前
娇气的天亦完成签到,获得积分10
37秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Cowries - A Guide to the Gastropod Family Cypraeidae 1200
Handbook of Milkfat Fractionation Technology and Application, by Kerry E. Kaylegian and Robert C. Lindsay, AOCS Press, 1995 1000
Nach dem Geist? 500
The Affinity Designer Manual - Version 2: A Step-by-Step Beginner's Guide 500
Affinity Designer Essentials: A Complete Guide to Vector Art: Your Ultimate Handbook for High-Quality Vector Graphics 500
Optimisation de cristallisation en solution de deux composés organiques en vue de leur purification 500
热门求助领域 (近24小时)
化学 医学 生物 材料科学 工程类 有机化学 内科学 生物化学 物理 计算机科学 纳米技术 遗传学 基因 复合材料 化学工程 物理化学 病理 催化作用 免疫学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 5044737
求助须知:如何正确求助?哪些是违规求助? 4274288
关于积分的说明 13323576
捐赠科研通 4088026
什么是DOI,文献DOI怎么找? 2236649
邀请新用户注册赠送积分活动 1244065
关于科研通互助平台的介绍 1172119