IOS:用于CNN加速的运营商间协调
IOS: Inter-Operator Scheduler for CNN Acceleration
摘要:
为了加速CNN推理,现有的深度学习框架专注于优化运算符内并行化。然而,由于高性能硬件的快速发展,单个操作员不再能够充分利用可用的并行性,导致峰值性能和实际性能之间存在很大的差距。这种性能差距在较小的批量下更为严重。在这项工作中,我们广泛研究了操作符之间的并行性,并提出了跨操作符调度(IOS)自动调度多个操作符的并行执行,通过一种新的动态规划算法。IOS始终优于最先进的库(例如,TensorRT)在现代CNN基准测试中提高了1.1到1.5倍。复制每个实验的代码可在https://github.com/mit-han-lab/inter-operator-scheduler上获得。
英文摘要:
To accelerate CNN inference, existing deep learning frameworks focus on optimizing intra-operator parallelization. However, a single operator can no longer fully utilize the available parallelism given the rapid advances in high-performance hardware, resulting in a large gap between the peak performance and the real performance. This performance gap is more severe under smaller batch sizes. In this work, we extensively study the parallelism between operators and propose Inter-Operator Scheduler (IOS) to automatically schedule multiple operators' parallel execution through a novel dynamic programming algorithm. IOS consistently outperforms state-of-the-art libraries (e.g., TensorRT) by 1.1 to 1.5x on modern CNN benchmarks. The code to reproduce each experiment is available at: https://github.com/mit-han-lab/inter-operator-scheduler.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。