Zing Forum

Reading

SpikingJelly: An Open-Source Spiking Neural Network Deep Learning Framework Based on PyTorch

SpikingJelly is an open-source Spiking Neural Network (SNN) deep learning framework based on PyTorch. It offers complete functionalities including model construction, ANN-SNN conversion, CUDA/Triton acceleration, and neuromorphic dataset support. Recently, its research work on memory-efficient training was accepted by ICLR 2026.

SpikingJelly脉冲神经网络SNNPyTorch深度学习框架神经形态计算ANN-SNN转换Triton加速ICLR 2026内存优化训练
Published 2026-04-30 08:14Recent activity 2026-04-30 10:04Estimated read 5 min
SpikingJelly: An Open-Source Spiking Neural Network Deep Learning Framework Based on PyTorch
1

Section 01

Core Introduction and Highlights of the SpikingJelly Framework

SpikingJelly is an open-source Spiking Neural Network (SNN) deep learning framework based on PyTorch, providing complete functionalities such as model construction, ANN-SNN conversion, CUDA/Triton acceleration, and neuromorphic dataset support. Recently, its research work on memory-efficient training was accepted by ICLR 2026, offering important support for the development of the SNN field.

2

Section 02

Advantages and Development Challenges of SNNs

As the third generation of neural networks, Spiking Neural Networks (SNNs) have advantages of high energy efficiency and strong biological interpretability, closely resembling the operating mechanism of biological nervous systems. Their energy consumption is significantly reduced on dedicated hardware. However, SNN development has long faced challenges like incomplete toolchains and complex learning algorithms—SpikingJelly was created to address these issues.

3

Section 03

Simplified SNN Construction and ANN-SNN Conversion

SpikingJelly uses syntax consistent with PyTorch and supports classic neuron models such as IF, LIF, and ParametricLIF. Its modular design allows users to quickly build SNNs. It also provides ANN-SNN conversion tools; through strategies like weight scaling and threshold adjustment, users can gain SNN energy efficiency advantages while maintaining performance.

4

Section 04

Performance Acceleration and Neuromorphic Dataset Support

The framework introduces the Triton backend for IFNode, LIFNode, etc., generating optimized GPU kernels to improve computational efficiency. The FlexSN tool can dynamically convert spiking neurons into Triton kernels. Additionally, it has built-in neuromorphic dataset support and a unified loading interface, making SNN experiments convenient for users.

5

Section 05

ICLR 2026 Accepted Work: Memory-Efficient Training

The SpikingJelly team's paper 'Towards Lossless Memory-efficient Training of Spiking Neural Networks via Gradient Checkpointing and Spike Compression' was accepted by ICLR 2026. This method combines gradient checkpointing and spike compression techniques, integrated into the spikingjelly.activation_based.memopt module, which significantly reduces memory usage without performance loss.

6

Section 06

Extended Functions and Ecosystem Development

The framework supports spiking self-attention mechanisms (SpikingSelfAttention, QKAttention) for complex sequence tasks; the nir_exchange module enables interoperability with NIR format; the op_counter tool helps analyze model computational complexity, enriching the SNN development ecosystem.

7

Section 07

Version Strategy and Community Contributions

SpikingJelly uses a version strategy where odd-numbered versions are development versions (synchronized with repository updates) and even-numbered versions are stable versions (released on PyPI). The community is active, offering bilingual Chinese-English documentation, clear contribution guidelines, and code standards, accepting contributions from global developers.

8

Section 08

Application Value and Future Outlook

SpikingJelly has great potential in edge computing, low-power AI, and neuromorphic chip development, facilitating research validation and engineering deployment. Future plans include optimizing Huawei NPU support and improving the Triton backend to become a bridge between SNN research and industrial applications.