Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for NIR <> lava-dl #217

Open
stevenabreu7 opened this issue Aug 9, 2023 · 0 comments · May be fixed by #218
Open

Support for NIR <> lava-dl #217

stevenabreu7 opened this issue Aug 9, 2023 · 0 comments · May be fixed by #218
Labels
0-needs-review 1-feature New feature or request

Comments

@stevenabreu7
Copy link
Contributor

User story

As a user, I want to be able to train SNNs in other libraries (e.g. snnTorch, Norse, Nengo, Rockpool, Sinabs), export the trained networks and import them in lava-dl to then run them on Loihi 2. The neuromorphic intermediate representation (NIR) project aims to make neuromorphic simulators and hardware platforms more interoperable. I would like to add support for converting between lava-dl and NIR (bi-directional).

Conditions of satisfaction

  • Users should be able to convert NIR graphs (generated from any other neuromorphic simulator) to lava-dl networks.
  • Users should be able to take a network trained in lava-dl and export it to NIR.
  • At first, supporting the set of networks that are supported by both NIR and lava-dl suffices. Later on, we may extend NIR to support other neuron models (e.g. sigma-delta).

Acceptance tests

  • Converting lava-dl → NIR → lava-dl should not lose information or break the lava-dl network.
  • Similarly, converting NIR → lava-dl → NIR should not lose information or break the NIR network.
  • Demonstrate that conversion between lava-dl <> NIR works for the lava-dl example networks (pilotnet-snn and oxford).
@stevenabreu7 stevenabreu7 added the 1-feature New feature or request label Aug 9, 2023
@stevenabreu7 stevenabreu7 linked a pull request Aug 9, 2023 that will close this issue
20 tasks
@bamsumit bamsumit linked a pull request Aug 9, 2023 that will close this issue
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0-needs-review 1-feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant