#100 · Primary category: Deep Learning Frameworks

snntorch

machine-learning neural-networks neuron-models neuroscience python pytorch snn spike spiking spiking-neural-networks

Deep and online learning with spiking neural networks in Python

Project last updated:08/29/26

GitHub Stars

2.0K

Forks

302

Contributors

60

License

MIT

Why we included this project

For anyone building spiking neural networks, snnTorch keeps you inside the PyTorch ecosystem you already know. It models each spiking neuron as a recurrent activation unit within a standard torch.nn-style model, so you can keep using familiar layers, autograd, and CUDA acceleration while exploring spike-based computation. The package includes pre-designed neuron models, surrogate gradient functions for training, spike generation and conversion utilities, plus visualization and dataset helpers, which handles much of the boilerplate that usually slows down SNN research. It also supports importing and exporting models through the NIR interchange format, making it practical to move networks between different spiking frameworks. Researchers, students, and engineers working on neuromorphic or energy-efficient computing will find the tutorials and Colab notebooks a good starting point, and the library runs small training jobs on CPU when needed.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category