Skip to content
Projets

Buck008/Transformer-Accelerator-Based-on-FPGA

Voir sur GitHub

À propos

Le projet peut être exécuté sur pynq z1. Le dépôt contient le code Verilog correspondant, la configuration Vivado et du code C pour tester le SDK. La taille du réseau systolique est modifiable ; elle est actuellement de 16×16.

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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:

  1. 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 ).
  2. Add all the code to the project
  3. Run prj.tcl
  4. Create a wrapper for the block design and set it as the top module.
  5. Run the generated synthesis and implementation strategies and generate the bitstream.

Explorer des projets similaires

Chargement…