arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2104.02184cs.LGcs.AR
收藏

灵活快速的PyTorch工具包,用于模拟交叉开关阵列的模拟训练和推理

A flexible and fast PyTorch toolkit for simulating training and inference on analog crossbar arrays

IBM Research(IBM研究院)

Malte J. Rasch, Diego Moreda, Tayfun Gokmen, Manuel Le Gallo, Fabio Carta, Cindy Goldberg, Kaoutar El Maghraoui, Abu Sebastian, Vijay Narayanan

摘要:

我们将介绍IBM模拟硬件加速工具包,这是一个全新的开源工具包,可以在PyTorch中以方便的方式模拟模拟交叉开关阵列(可从https://github.com/IBM/aihwkit免费获得)。该工具包正在积极开发中,并围绕着“模拟瓦片”的概念,它捕获了在纵横阵列上执行的计算。模拟瓦片是构建块,可用于使用模拟组件扩展现有网络模块,并使用PyTorch框架的灵活性组成任意人工神经网络(ANN)。模拟模块可以方便地配置为仿真大量不同的模拟硬件特性及其非理想性,例如器件间和周期间变化、电阻器件响应曲线以及重量和输出噪声。此外,该工具包还可以设计自定义单元配置,并使用高级模拟优化算法,如Tiki-Taka。此外,向后和更新行为可以设置为“理想”,以实现仅针对推理加速的芯片的硬件感知训练功能。为了评估这种芯片随着时间的推移的推理精度,我们提供了统计编程噪声和漂移模型校准相变存储器硬件。我们的新工具包是完全GPU加速的,可用于方便地估计材料属性和未来模拟技术的非理想性对任意ANN准确性的影响。

英文摘要:

We introduce the IBM Analog Hardware Acceleration Kit, a new and first of a kind open source toolkit to simulate analog crossbar arrays in a convenient fashion from within PyTorch (freely available at https://github.com/IBM/aihwkit). The toolkit is under active development and is centered around the concept of an "analog tile" which captures the computations performed on a crossbar array. Analog tiles are building blocks that can be used to extend existing network modules with analog components and compose arbitrary artificial neural networks (ANNs) using the flexibility of the PyTorch framework. Analog tiles can be conveniently configured to emulate a plethora of different analog hardware characteristics and their non-idealities, such as device-to-device and cycle-to-cycle variations, resistive device response curves, and weight and output noise. Additionally, the toolkit makes it possible to design custom unit cell configurations and to use advanced analog optimization algorithms such as Tiki-Taka. Moreover, the backward and update behavior can be set to "ideal" to enable hardware-aware training features for chips that target inference acceleration only. To evaluate the inference accuracy of such chips over time, we provide statistical programming noise and drift models calibrated on phase-change memory hardware. Our new toolkit is fully GPU accelerated and can be used to conveniently estimate the impact of material properties and non-idealities of future analog technology on the accuracy for arbitrary ANNs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑