arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.06829cs.ARcs.AIcs.LG
收藏

使用高级Vitis HLS实现AWS云FPGA开发

Enabling AWS Cloud FPGA Development Using High-Level Vitis HLS

David Rostcheck

AI总结:

该研究提出了一套工具链,实现了从高级语言在AWS EC2 F2云FPGA上开发ML模型的完整Vitis HLS到HDK再到AFI工作流,通过四级方法定位错误,并基于TinyBERT验证了FPGA实现,同时分析了性能问题。

摘要:

我们提出了一种用于在AWS EC2 F2云FPGA基础设施上从高级语言开发ML模型的工具链,实现了完整的Vitis HLS到HDK再到AFI的工作流,尽管AWS FPGA已问世八年,但这一工作流在学术文献中一直缺失。我们引入了四级方法(FP32 PyTorch、位精确量化Python、HLS C仿真、物理FPGA)以帮助定位错误,包括FPGA特定的电路错误。这些工具共同使编码智能体能够根据用户指令有效实现FPGA设计,并根据需要进行测试和调试。我们记录了部署工作流、时序收敛策略以及被证明至关重要的实用HLS工程决策。我们使用针对地址命名实体识别微调的TinyBERT进行验证,在FPGA硬件上实现了嵌入层和四个编码器层中的第一个。我们的实现从主机DRAM流式传输权重,与CPU/GPU实现相比性能较差;我们讨论了改进方向。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑