kmheckel / spyx

Spyx: Spiking Neural Networks in JAX
https://spyx.readthedocs.io/en/latest/
MIT License
102 stars 12 forks source link

Add Spiking-RWKV layer to support SpikeGPT architectures #9

Open kmheckel opened 1 year ago

kmheckel commented 1 year ago

It'd be great to provide some template layers within the library for more complex SNN architectures.

pengzhouzp commented 1 year ago

This is interesting!

kmheckel commented 1 year ago

Thanks! I'd be happy to include a SpikeGPT/SpikingRWKV block, I just haven't had the chance yet to really dig into the architectures and try implementing it. A numpy or torch implementation of the block would be all I need to translate it into an equivalent JAX module.

pengzhouzp commented 1 year ago

In another RWKV/SpikeGPT project the numpy version of RWKV was done but may not including the spiking block. Would you like to discuss this over email?

kmheckel commented 1 year ago

I'd prefer to discuss things either here or on the Open Neuromorphic discord channel so that way other's could follow along if that works for you!