利用蝴蝶分解降低 IPU 的内存需求
Reducing Memory Requirements for the IPU using Butterfly Factorizations
AI总结:
本文研究在 IPU 上实现蝴蝶分解以降低内存需求,实验表明该方法可实现 98.5% 压缩率,并在 CIFAR10 上取得 1.62 倍训练加速。
摘要:
高性能计算(HPC)在过去几十年中受益于多方面的改进,尤其是在硬件平台方面,这些平台在提供更强处理能力的同时将功耗维持在合理水平。智能处理单元(IPU)是一种新型的大规模并行处理器,旨在通过大量处理核心和片上存储组件以及高速互连结构来加速并行计算。IPU 主要面向机器学习应用,然而,由于 GPU 与 IPU 在架构上的差异,尤其是 IPU 的内存容量显著更小,必须考虑通过稀疏化来减小模型规模的方法。蝴蝶分解是众所周知的全连接层和卷积层的替代方案。本文研究了如何在 IPU 上实现蝴蝶结构,并将其行为与性能同 GPU 进行比较。实验结果表明,这些方法可以提供 98.5% 的压缩率,从而降低巨大的内存需求;IPU 实现在蝴蝶结构和像素化蝴蝶结构上分别可获得 1.3 倍和 1.6 倍的性能提升。此外,在 CIFAR10 这样的真实数据集上,我们还实现了 1.62 倍的训练时间加速。
英文摘要:
High Performance Computing (HPC) benefits from different improvements during last decades, specially in terms of hardware platforms to provide more processing power while maintaining the power consumption at a reasonable level. The Intelligence Processing Unit (IPU) is a new type of massively parallel processor, designed to speedup parallel computations with huge number of processing cores and on-chip memory components connected with high-speed fabrics. IPUs mainly target machine learning applications, however, due to the architectural differences between GPUs and IPUs, especially significantly less memory capacity on an IPU, methods for reducing model size by sparsification have to be considered. Butterfly factorizations are well-known replacements for fully-connected and convolutional layers. In this paper, we examine how butterfly structures can be implemented on an IPU and study their behavior and performance compared to a GPU. Experimental results indicate that these methods can provide 98.5% compression ratio to decrease the immense need for memory, the IPU implementation can benefit from 1.3x and 1.6x performance improvement for butterfly and pixelated butterfly, respectively. We also reach to 1.62x training time speedup on a real-word dataset such as CIFAR10.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。