snntorch is a deep learning library that enables researchers and developers to build and train spiking neural networks using the PyTorch framework. Spiking neural networks are biologically inspired models that communicate through discrete spike events rather than continuous activation values, making them closer to how neurons operate in the brain. The library extends PyTorch’s tensor computation capabilities to support gradient-based learning for networks composed of spiking neurons. This allows researchers to train spiking neural models using familiar deep learning workflows while taking advantage of GPU acceleration and automatic differentiation. snnTorch provides implementations of common spiking neuron models, surrogate gradient training methods, and utilities for handling temporal neural dynamics. Because spiking neural networks operate over time and encode information through spike timing, the library includes tools for simulating temporal behavior.

Features

  • PyTorch-based framework for building and training spiking neural networks
  • Support for gradient-based learning with surrogate gradient methods
  • Implementation of biologically inspired neuron models
  • Tools for simulating temporal dynamics and spike-based communication
  • GPU-accelerated computation using PyTorch tensor operations
  • Utilities for building deep spiking architectures for machine learning tasks

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow snntorch

snntorch Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of snntorch!

Additional Project Details

Programming Language

Python

Related Categories

Python Machine Learning Software

Registered

2026-03-12