Hardware-Software Co-Design for an Analog-Digital Accelerator for Machine Learning

J. Ambrosi, Aayush Ankit, Rodrigo Antunes, S. R. Chalamalasetti, Soumitra Chatterjee, I. E. Hajj, Guilherme Fachini, P. Faraboschi, M. Foltin, Sitao Huang, Wen-mei W. Hwu, Gustavo Knuppe, Sunil Vishwanathpur Lakshminarasimha, D. Milojicic, Mohan Parthasarathy, Filipe Ribeiro, L. Rosa, K. Roy, P. Silveira, J. Strachan
{"title":"Hardware-Software Co-Design for an Analog-Digital Accelerator for Machine Learning","authors":"J. Ambrosi, Aayush Ankit, Rodrigo Antunes, S. R. Chalamalasetti, Soumitra Chatterjee, I. E. Hajj, Guilherme Fachini, P. Faraboschi, M. Foltin, Sitao Huang, Wen-mei W. Hwu, Gustavo Knuppe, Sunil Vishwanathpur Lakshminarasimha, D. Milojicic, Mohan Parthasarathy, Filipe Ribeiro, L. Rosa, K. Roy, P. Silveira, J. Strachan","doi":"10.1109/ICRC.2018.8638612","DOIUrl":null,"url":null,"abstract":"The increasing deployment of machine learning at the core and at the edge for applications such as video and image recognition has resulted in a number of special purpose accelerators in this domain. However, these accelerators do not have full end-to-end software stacks for application development, resulting in hard-to-develop, proprietary, and suboptimal application programming and executables. In this paper, we describe software stack for a memristor-based hybrid (analog-digital)accelerator. The software stack consists of an ONNX converter, an application optimizer, a compiler, a driver, and emulators. The ONNX converter helps leveraging interoperable neural network models developed on frameworks that support ONNX, such as CNTK, Caffe2, Tensorflow, etc. The application optimization layer adapts these interoperable models to the underlying hardware. The compiler generates executable ISA code that the underlying accelerator can run. Finally, the emulator enables software execution without actual hardware which enables hardware design space exploration and testing. By building a software stack, we have made hybrid memristor-based ML accelerators more accessible to software developers, enabled a generation of better-performing executables, and created an environment that can be leveraged by a multitude of existing neural network models developed using other frameworks to target these accelerators.","PeriodicalId":169413,"journal":{"name":"2018 IEEE International Conference on Rebooting Computing (ICRC)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"26","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 IEEE International Conference on Rebooting Computing (ICRC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICRC.2018.8638612","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 26

Abstract

The increasing deployment of machine learning at the core and at the edge for applications such as video and image recognition has resulted in a number of special purpose accelerators in this domain. However, these accelerators do not have full end-to-end software stacks for application development, resulting in hard-to-develop, proprietary, and suboptimal application programming and executables. In this paper, we describe software stack for a memristor-based hybrid (analog-digital)accelerator. The software stack consists of an ONNX converter, an application optimizer, a compiler, a driver, and emulators. The ONNX converter helps leveraging interoperable neural network models developed on frameworks that support ONNX, such as CNTK, Caffe2, Tensorflow, etc. The application optimization layer adapts these interoperable models to the underlying hardware. The compiler generates executable ISA code that the underlying accelerator can run. Finally, the emulator enables software execution without actual hardware which enables hardware design space exploration and testing. By building a software stack, we have made hybrid memristor-based ML accelerators more accessible to software developers, enabled a generation of better-performing executables, and created an environment that can be leveraged by a multitude of existing neural network models developed using other frameworks to target these accelerators.
用于机器学习的模拟-数字加速器的软硬件协同设计
在视频和图像识别等应用中,机器学习在核心和边缘的部署越来越多,这导致了该领域出现了许多专用加速器。然而,这些加速器没有用于应用程序开发的完整的端到端软件堆栈,导致难以开发、专有和次优的应用程序编程和可执行文件。本文描述了一种基于忆阻器的混合(模拟-数字)加速器的软件堆栈。软件栈由ONNX转换器、应用程序优化器、编译器、驱动程序和仿真器组成。ONNX转换器有助于利用在支持ONNX的框架(如CNTK、Caffe2、Tensorflow等)上开发的可互操作的神经网络模型。应用程序优化层使这些可互操作的模型适应底层硬件。编译器生成底层加速器可以运行的可执行ISA代码。最后,该仿真器使软件能够在没有实际硬件的情况下执行,从而实现了硬件设计空间的探索和测试。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信