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.
Metadata
Release files for spikerplus 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spikerplus-2.0.3.tar.gz | 56.8 kB | Without provenance | Details for spikerplus-2.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spikerplus-2.0.3-py3-none-any.whl | Python 3 | none | any | Details for spikerplus-2.0.3-py3-none-any.whl |
Total release size: 145.8 kB
Release files / spikerplus-2.0.3.tar.gz
| Download URL | spikerplus-2.0.3.tar.gz |
|---|---|
| Size | 56.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d316347de0b38ed69b3039a96e3275e1e24eca89606dacea221a6d0674a537b
|
|
BLAKE2b-256 checksum How to use checksums |
f54a785187bc1c7d47886ffe6bda0fe493985862a27776df03611715370a4a2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.7
|
Release files / spikerplus-2.0.3-py3-none-any.whl
| Download URL | spikerplus-2.0.3-py3-none-any.whl |
|---|---|
| Size | 89.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8aa16c64fc1a8ab4c5f358939cf00306d773541660883687c5099f59c973b0e
|
|
BLAKE2b-256 checksum How to use checksums |
47925d6686e1b11431ec2f02b330dda388aabc5115028abc04b4f7ce4db8fab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.7
|
Security for spikerplus 2.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.