hls4ml: A Flexible, Open Source Platform for Deep Learning Acceleration on Reconfigurable Hardware

View at publisher
Authors: J. F. Schulte, Benjamin Ramhorst, Chang Sun, Jovan Mitrevski, Nicolò Ghielmetti, Enrico Lupi, Dimitrios Danopoulos, Vladimir Lončar, J. Duarte, David Burnette, L. A. O. Laatu, Stylianos Tzelepis
+41 more K. Axiotis, Quentin Berthet, Haoyan Wang, Paul White, Suleyman Demirsoy, Marco Colombo, T. K. Aarrestad, S. Summers, M. Pierini, Giuseppe Di Guglielmo, J. Ngadiuba, Javier Campos, Benjamin Hawks, A. Gandrakota, Farah Fahim, Nhan Viet Tran, George A. Constantinides, Zhiqiang Que, Wayne Luk, A. Tapper, Duc Hoang, Noah Paladino, Philip Harris, Bo‐Cheng Lai, Manuel Blanco Valentín, Ryan F. Forelli, Seda Ogrenci-Memik, Lino Gerlach, Rian Brooks Flynn, M. Liu, D. Díaz, E. E. Khoda, M. Quinnan, Russell D. Marroquin, S. Parajuli, M. S. Neubauer, T. C. Herwig, Ho Fung Tsoi, Dylan Rankin, S.-C. Hsu, Scott Hauck
Cited by: 6
References: 52

Abstract

We present hls4ml , a free and open source platform that translates machine learning (ML) models from modern deep learning frameworks into high-level synthesis (HLS) code that can be integrated into full designs for field-programmable gate arrays (FPGAs) or application-specific integrated circuits (ASICs). With its flexible and modular design, hls4ml supports a large number of deep learning frameworks and can target HLS compilers from several vendors, including Vitis HLS, Intel oneAPI and Catapult HLS. Together with a wider eco-system for software-hardware co-design, hls4ml has enabled the acceleration of ML inference in a wide range of commercial and scientific applications where low latency, resource usage, and power consumption are critical. In this article, we describe the structure and functionality of the hls4ml platform. The overarching design considerations for the generated HLS code are discussed, together with selected performance results.

Fields of Study & Subjects

Embedded Systems Design Techniques Numerical Methods and Algorithms Parallel Computing and Optimization Techniques

Publication details

Journal / source
ACM Transactions on Reconfigurable Technology and Systems
Publisher
Association for Computing Machinery (ACM)
Volume
19
Issue
2
Pages
1–35
Publication date
2 April 2026
Language
EN