计算机科学 > 性能
[提交于 2020年2月27日]
标题:Optimizing Memory-Access Patterns for Deep Learning Accelerators
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Deep learning (DL) workloads are moving towards accelerators for faster processing and lower cost. Modern DL accelerators are good at handling the large-scale multiply-accumulate operations that dominate DL workloads; however, it is challenging to make full use of the compute power of an accelerator since the data must be properly staged in a software-managed scratchpad memory. Failing to do so can result in significant performance loss. This paper proposes a systematic approach which leverages the polyhedral model to analyze all operators of a DL model together to minimize the number of memory accesses. Experiments show that our approach can substantially reduce the impact of memory accesses required by common neural-network models on a homegrown AWS machine-learning inference chip named Inferentia, which is available through Amazon EC2 Inf1 instances.
提交历史
来自:Yida Wang[v1] 2020年2月27日 星期四 05:06:19 UTC