Low latency RNN inference with cellular batching
Low latency RNN inference with cellular batching
复制标题
DOI:
10.1145/3190508.3190541
复制
发表时间:
2018-04
期刊:
影响因子:
--
通讯作者:
Pin Gao;Lingfan Yu;Yongwei Wu;Jinyang Li
中科院分区:
文献类型:
--
作者:
Pin Gao;Lingfan Yu;Yongwei Wu;Jinyang Li
Performing inference on pre-trained neural network models must meet the requirement of low-latency, which is often at odds with achieving high throughput. Existing deep learning systems use batching to improve throughput, which do not perform well when serving Recurrent Neural Networks with dynamic dataflow graphs. We propose the technique of cellular batching, which improves both the latency and throughput of RNN inference. Unlike existing systems that batch a fixed set of dataflow graphs, cellular batching makes batching decisions at the granularity of an RNN "cell" (a subgraph with shared weights) and dynamically assembles a batched cell for execution as requests join and leave the system. We implemented our approach in a system called BatchMaker. Experiments show that BatchMaker achieves much lower latency and also higher throughput than existing systems.