异构平台上的双管深学习预处理:结合CPU、加速器和CSD
Dual-pronged deep learning preprocessing on heterogeneous platforms with CPU, Accelerator and CSD
AI总结:
DDLP通过结合CPU、加速器和CSD,优化深度学习预处理的计算与传输效率,显著提升学习速度并降低能耗。
摘要:
对于图像相关的深度学习任务,第一步通常涉及从外部存储中读取数据并在CPU上进行预处理。随着加速器速度的提高以及单计算节点加速器数量的增加,加速器与CPU之间的计算和数据传输能力差距逐渐扩大。数据读取和预处理成为这些任务的瓶颈。我们的工作DDLP通过可计算存储设备(CSDs)解决深度学习预处理的数据计算和传输瓶颈。DDLP允许CPU和CSD分别高效地并行化数据集两端的预处理。为此,我们提出了两种自适应动态选择策略,使DDLP能够控制加速器自动从不同来源读取数据。这两种策略在一致性和效率之间进行权衡。DDLP实现了CSD数据预处理、CPU预处理、加速器计算和加速器数据读取之间的充分计算重叠。此外,DDLP利用直接存储技术来实现SSD到加速器的数据高效传输。此外,DDLP利用更节能的CSDs减少昂贵的CPU和DRAM资源的使用,缓解预处理瓶颈的同时显著降低能耗。广泛的实验结果表明,DDLP可以在ImageNet数据集上将学习速度提高高达23.5%,同时减少能耗19.7%和CPU和DRAM使用37.6%。DDLP还在Cifar-10数据集上将学习速度提高高达27.6%。
英文摘要:
For image-related deep learning tasks, the first step often involves reading data from external storage and performing preprocessing on the CPU. As accelerator speed increases and the number of single compute node accelerators increases, the computing and data transfer capabilities gap between accelerators and CPUs gradually increases. Data reading and preprocessing become progressively the bottleneck of these tasks. Our work, DDLP, addresses the data computing and transfer bottleneck of deep learning preprocessing using Computable Storage Devices (CSDs). DDLP allows the CPU and CSD to efficiently parallelize preprocessing from both ends of the datasets, respectively. To this end, we propose two adaptive dynamic selection strategies to make DDLP control the accelerator to automatically read data from different sources. The two strategies trade-off between consistency and efficiency. DDLP achieves sufficient computational overlap between CSD data preprocessing and CPU preprocessing, accelerator computation, and accelerator data reading. In addition, DDLP leverages direct storage technology to enable efficient SSD-to-accelerator data transfer. In addition, DDLP reduces the use of expensive CPU and DRAM resources with more energy-efficient CSDs, alleviating preprocessing bottlenecks while significantly reducing power consumption. Extensive experimental results show that DDLP can improve learning speed by up to 23.5% on ImageNet Dataset while reducing energy consumption by 19.7% and CPU and DRAM usage by 37.6%. DDLP also improves the learning speed by up to 27.6% on the Cifar-10 dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。