Using the IBM Analog In-Memory Hardware Acceleration Kit for Neural Network Training and Inference

Manuel Le Gallo, Corey Lammie, Julian Buechel, Fabio Carta, Omobayode Fagbohungbe +6 more
7/18/2023
cs.ETcs.LG

Official code: IBM/aihwkit (489 stars, MIT, PyTorch, last commit 2026-04-22).

Abstract

Analog In-Memory Computing (AIMC) is a promising approach to reduce the latency and energy consumption of Deep Neural Network (DNN) inference and training. However, the noisy and non-linear device characteristics, and the non-ideal peripheral circuitry in AIMC chips, require adapting DNNs to be deployed on such hardware to achieve equivalent accuracy to digital computing. In this tutorial, we provide a deep dive into how such adaptations can be achieved and evaluated using the recently released IBM Analog Hardware Acceleration Kit (AIHWKit), freely available at https://github.com/IBM/aihwkit. The AIHWKit is a Python library that simulates inference and training of DNNs using AIMC. We present an in-depth description of the AIHWKit design, functionality, and best practices to properly perform inference and training. We also present an overview of the Analog AI Cloud Composer, a platform that provides the benefits of using the AIHWKit simulation in a fully managed cloud setting along with physical AIMC hardware access, freely available at https://aihw-composer.draco.res.ibm.com. Finally, we show examples on how users can expand and customize AIHWKit for their own needs. This tutorial is accompanied by comprehensive Jupyter Notebook code examples that can be run using AIHWKit, which can be downloaded from https://github.com/IBM/aihwkit/tree/master/notebooks/tutorial.

View on arXivView PDF

Code Implementations(1)

IBM/aihwkitOfficial
PyTorchMIT

IBM Analog Hardware Acceleration Kit

489191C, C++Sep 17, 20206 months agoMIT
aianalog-devicescudaneural-networkspytorch

Similar Papers

Cite this paper

@article{gallo2023using,
  title  = {Using the IBM Analog In-Memory Hardware Acceleration Kit for Neural Network Training and Inference},
  author = {Manuel Le Gallo and Corey Lammie and Julian Buechel and Fabio Carta and Omobayode Fagbohungbe and Charles Mackin and Hsinyu Tsai and Vijay Narayanan and Abu Sebastian and Kaoutar El Maghraoui and Malte J. Rasch},
  year   = {2023},
  eprint = {2307.09357},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.09357v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.09357.svg)](https://codeofpaper.com/paper/2307.09357)

Discussion