ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2409.05207
33
1

Low Latency Transformer Inference on FPGAs for Physics Applications with hls4ml

8 September 2024
Zhixing Jiang
Dennis Yin
Yihui Chen
Elham E Khoda
Scott Hauck
Shih-Chieh Hsu
E. Govorkova
Philip C. Harris
Vladimir Loncar
Eric A. Moreno
    AI4CE
ArXivPDFHTML
Abstract

This study presents an efficient implementation of transformer architectures in Field-Programmable Gate Arrays(FPGAs) using hls4ml. We demonstrate the strategy for implementing the multi-head attention, softmax, and normalization layer and evaluate three distinct models. Their deployment on VU13P FPGA chip achieved latency less than 2us, demonstrating the potential for real-time applications. HLS4ML compatibility with any TensorFlow-built transformer model further enhances the scalability and applicability of this work. Index Terms: FPGAs, machine learning, transformers, high energy physics, LIGO

View on arXiv
Comments on this paper