Open-source project

btorch

Brain-inspired differentiable PyTorch toolkit for neuromorphic and computational neuroscience research.

The project

Build and explore neural circuits.

BTorch is our lab's flagship open-source Python framework, evolved from SpikingJelly and influenced by BrainState, for building, simulating, and training recurrent spiking neural networks and biologically grounded circuit models directly in native PyTorch.

BTorch provides a unified software substrate for our NeuroAI program, connecting sparse connectome-style architectures and heterogeneous neuron-synapse dynamics to scalable gradient-based and local learning.

Get started

Install btorch

Install the latest released package from PyPI:

pip install btorch

Explore the documentation and examples for details.