项目
在 GitHub 查看
Buck008/Transformer-Accelerator-Based-on-FPGA
关于
可在 pynq z1 上运行。仓库包含相关的 Verilog 代码、Vivado 配置和用于 SDK 测试的 C 代码。脉动阵列的尺寸可以调整,目前为 16×16。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Transformer Accelerator Based on FPGA
You can run it on pynq z1 (or any other Zynq device, since the systolic array is parameterized). The repository contains the relevant Verilog code, Vivado configuration and C/Python code for sdk/PYNQ testing. The size of the systolic array can be changed, now it is 16X16. In the future, I might add some nonlinear hardware acceleration operators (for accelerating ViT, it's a kind of neural network based on Transformer), such as those that compute Softmax, Gelu and LayerNorm functions. I am still working on to improve the accuracy and performance of this part.
How to reproduce this project:
- In vivado2019.1, create a new project (note that the boardfile is pynq z1, you can download the corresponding boardfile here: https://pynq.readthedocs.io/en/v3.0.0/overlay_design_methodology/board_settings.html ).
- Add all the code to the project
- Run prj.tcl
- Create a wrapper for the block design and set it as the top module.
- Run the generated synthesis and implementation strategies and generate the bitstream.
探索相关项目
加载中…