Build, train, optimize and generate hardware accelerators for Spiking Neural Networks usign VHDL
Project description
Spiker: a framework for the generation of efficient Spiking Neural Networks FPGA accelerators for inference at the edge
This is the official repo of spiker, a comprehensive framework for generating efficient, low-power, and low-area customized Spiking Neural Networks (SNN) accelerators on FPGA for inference at the edge. spiker presents a library of highly efficient neuron architectures and a design framework, enabling the development of complex neural network accelerators with few lines of Python code.
Project structure
| Component | Description |
|---|---|
| spiker | Python package to build, train, quantize and generate the VHDL description of hardware accelerators for Spiking Neural Networks |
| Tutorials | Examples on how to use the different components of spiker |
| Doc | Project documentation. It will be gradually filled with schematics, timing diagrams and similar |
Requirements
- numpy >= 1.20
- torch >= 1.12
- snntorch >= 0.9.1
- tabulate >= 0.9.0
Installation
git clone https://github.com/smilies-polito/Spiker.git
cd Spiker
pip install .
Or alternatively
python setup.py install
Citation
@misc{carpegna\_spiker\_2024,
title = {Spiker+: a framework for the generation of efficient {Spiking} {Neural} {Networks} {FPGA} accelerators for inference at the edge},
shorttitle = {Spiker+},
url = {http://arxiv.org/abs/2401.01141},
doi = {10.48550/arXiv.2401.01141},
urldate = {2024-01-26},
publisher = {arXiv},
author = {Carpegna, Alessio and Savino, Alessandro and Di Carlo, Stefano},
month = jan,
year = {2024},
keywords = {Computer Science - Neural and Evolutionary Computing, Computer Science - Artificial Intelligence, Computer Science - Hardware Architecture}
}
Acknowledgements
This project has received funding from the European Union’s Horizon Europe research and innovation programme under grant agreement No. 101070238. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union. Neither the European Union nor the granting authority can be held responsible for them.
The code in spiker/vhdl/vhdltools was modified starting from rftafas/hdltools.
I would like to thank Domenico Elia Sabella for their valuable assistance in revising and cleaning the final version of the code published on the open repository.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spikerplus-2.0.3.tar.gz.
File metadata
- Download URL: spikerplus-2.0.3.tar.gz
- Upload date:
- Size: 56.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d316347de0b38ed69b3039a96e3275e1e24eca89606dacea221a6d0674a537b
|
|
| MD5 |
557ce2de6b54bc857895ca54f462f4f4
|
|
| BLAKE2b-256 |
f54a785187bc1c7d47886ffe6bda0fe493985862a27776df03611715370a4a2b
|
File details
Details for the file spikerplus-2.0.3-py3-none-any.whl.
File metadata
- Download URL: spikerplus-2.0.3-py3-none-any.whl
- Upload date:
- Size: 89.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8aa16c64fc1a8ab4c5f358939cf00306d773541660883687c5099f59c973b0e
|
|
| MD5 |
49c6ac4182552a3d67e9b6b19bbace89
|
|
| BLAKE2b-256 |
47925d6686e1b11431ec2f02b330dda388aabc5115028abc04b4f7ce4db8fab1
|