Buck008/Transformer-Accelerator-Based-on-FPGA
소개
pynq z1에서 실행할 수 있습니다. 저장소에는 관련 Verilog 코드, Vivado 설정, SDK 테스트용 C 코드가 들어 있습니다. 시스톨릭 어레이 크기를 변경할 수 있으며, 현재 크기는 16×16입니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTransformer 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.
관련 프로젝트 살펴보기
불러오는 중…