Enabling AWS Cloud FPGA Development Using High-Level Vitis HLS
David Rostcheck
Abstract
We present a toolchain for development of ML models on AWS EC2 F2 cloud FPGA infrastructure from high-level language, implementing a complete Vitis HLS to HDK bridge to AFI workflow that has been absent from the academic literature despite eight years of AWS FPGA availability. We introduce a four-level methodology (FP32 PyTorch, bit-accurate quantized Python, HLS C-simulation, physical FPGA) to aid in localizing errors, including FPGA-specific circuit errors. Together these tools allow coding agents to effectively implement FPGA designs from user directions, testing and debugging as needed. We document the deployment workflow, timing closure strategies, and practical HLS engineering decisions that proved crucial. We validate using TinyBERT fine-tuned for address Named Entity Recognition, implementing the embedding layer and the first of four encoder layers on the FPGA hardware. Our implementation streams weights from host DRAM, yielding poor performance compared to CPU/GPU implementations; we discuss forward paths.
Create a lesson
Related papers
Energy Efficient Near-Threshold Voltage Massive MIMO Computing
MD Salman Sakib, Mehdi Safarpour, Pejman Ghasemzadeh et al.
Data Center Agglomeration and Power Infrastructure Capacity in the United States
Yutong Ma
Hardwired Distributed Processing Units for Inference: Neural Decisions at the Sensor that Free the Host
Raj Mali
Phantom: Temporal Caching for Diffusion Models
Yuzhe Fu, Cong Guo, Zishan Shao et al.
Scheduling Data to Compute: Hierarchical Data Pipelining for LLM Training on AMD GPUs
Gengyu Rao, Ghadeer Ahmed H Alabandi, Su Ann Chong et al.
GSPIM: A Temporal-Locality-Aware 4D Gaussian Splatting Accelerator with Polymorphic PIM and Multi-Frame Rendering Dataflow
Zirui Ma, Zhihua Fan, Haibin Wu et al.