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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
冷傲凝琴完成签到,获得积分10
4秒前
大白完成签到 ,获得积分10
6秒前
浩浩完成签到 ,获得积分10
7秒前
captainHc完成签到,获得积分10
7秒前
SNE完成签到,获得积分10
9秒前
活力的香完成签到 ,获得积分10
10秒前
庾楼月宛如昨完成签到 ,获得积分10
11秒前
可不可以完成签到 ,获得积分10
14秒前
过时的汲完成签到 ,获得积分10
15秒前
19秒前
Signs完成签到 ,获得积分10
21秒前
可爱归尘完成签到,获得积分10
23秒前
chen发布了新的文献求助10
25秒前
theinu完成签到,获得积分10
30秒前
MADAO完成签到 ,获得积分10
31秒前
无私绿兰完成签到 ,获得积分10
31秒前
Zzz完成签到,获得积分10
31秒前
安烁完成签到 ,获得积分10
33秒前
chen完成签到,获得积分10
34秒前
beeyuewu发布了新的文献求助10
36秒前
无与伦比完成签到 ,获得积分10
37秒前
39秒前
北方知既白完成签到 ,获得积分10
41秒前
明理唇彩发布了新的文献求助10
43秒前
压垮稻草的最后一只骆驼完成签到,获得积分10
44秒前
wyk完成签到,获得积分10
44秒前
beeyuewu完成签到,获得积分20
46秒前
乐乐应助刻苦的安白采纳,获得10
47秒前
Hero完成签到 ,获得积分10
51秒前
lx应助科研通管家采纳,获得10
52秒前
科研通AI2S应助科研通管家采纳,获得10
52秒前
lx应助科研通管家采纳,获得10
52秒前
杨华启应助科研通管家采纳,获得20
52秒前
传奇3应助科研通管家采纳,获得10
52秒前
1分钟前
MLJ完成签到 ,获得积分10
1分钟前
66完成签到,获得积分10
1分钟前
yet完成签到 ,获得积分10
1分钟前
1分钟前
家秋白发布了新的文献求助10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
PowerCascade: A Synthetic Dataset for Cascading Failure Analysis in Power Systems 2000
Various Faces of Animal Metaphor in English and Polish 800
Signals, Systems, and Signal Processing 610
Photodetectors: From Ultraviolet to Infrared 500
On the Dragon Seas, a sailor's adventures in the far east 500
Yangtze Reminiscences. Some Notes And Recollections Of Service With The China Navigation Company Ltd., 1925-1939 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6348412
求助须知:如何正确求助?哪些是违规求助? 8163459
关于积分的说明 17173352
捐赠科研通 5404880
什么是DOI,文献DOI怎么找? 2861802
邀请新用户注册赠送积分活动 1839609
关于科研通互助平台的介绍 1688913