GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - neuromorphs/NIR: Neuromorphic Intermediate Representation reference implementation

BranchesTags
Open more actions menu

Latest commit

 

History

301 Commits
301 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github/workflows
.github/workflows
 
 
docs
docs
 
 
nir
nir
 
 
paper
paper
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
CITATION.cff
CITATION.cff
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
README.md
README.md
 
 
dev_requirements.txt
dev_requirements.txt
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 
postBuild
postBuild
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

NIR Logo

NIR - Neuromorphic Intermediate Representation

Static Badge PyPI - Downloads GitHub Tag Discord Neuromorphic Computing

NIR is a set of computational primitives, shared across different neuromorphic frameworks and technology stacks. NIR is currently supported by 9 simulators and 5 hardware platforms, allowing users to seamlessly move between any of these platforms.

NIR is useful when you want to move a model from one platform to another, for instance from a simulator to a hardware platform.

Read more about NIR in our documentation about NIR primitives

See which frameworks are currently supported by NIR.

Usage

Read more in our documentation about NIR usage and see more examples in our examples section

NIR serves as a format between neuromorphic platforms and will be installed alongside your framework of choice. Using NIR is typically a part of your favorite framework's workflow, but follows the same pattern when you want to move from a source to a target platform:

# Define a model
my_model = ...
# Save the model (source platform)
nir.write("my_graph.nir", my_model)
# Load the model (target platform)
imported_graph = nir.read("my_graph.nir")

See our example section for how to use NIR with your favorite framework.

Recently, NIR has been extended by an intermediate representation for data exchange in spiking neural networks: NIRData.

Frameworks that currently support NIR

Read more in our documentation about NIR support

Framework Write to NIR Read from NIR Examples
hxtorch (BrainScaleS-2) ✓ ✓ hxtorch examples
jaxsnn (BrainScaleS-2) ✓ ✓ jaxsnn examples
Lava-DL ⬚ ✓ Lava/Loihi examples
Nengo ✓ ✓ Nengo examples
Norse ✓ ✓ Norse examples
Rockpool (SynSense Xylo chip) ✓ ✓ Rockpool/Xylo examples
Sinabs (SynSense Speck chip) ✓ ✓ Sinabs/Speck examples
snnTorch ✓ ✓ snnTorch examples
spikeforge ✓ ✓ spikeforge examples
SpiNNaker2 ⬚ ✓ SpiNNaker2 examples
Spyx ✓ ✓ Spyx examples

Acknowledgements

This work was originally conceived at the Telluride Neuromorphic Workshop 2023 by the authors below (in alphabetical order):

  • Steven Abreu
  • Felix Bauer
  • Jason Eshraghian
  • Matthias Jobst
  • Gregor Lenz
  • Jens Egholm Pedersen
  • Sadique Sheik
  • Peng Zhou

If you use NIR in your work, please cite the following paper

article{NIR2024, 
    title={Neuromorphic intermediate representation: A unified instruction set for interoperable brain-inspired computing}, 
    author={Pedersen, Jens E. and Abreu, Steven and Jobst, Matthias and Lenz, Gregor and Fra, Vittorio and Bauer, Felix Christian and Muir, Dylan Richard and Zhou, Peng and Vogginger, Bernhard and Heckel, Kade and Urgese, Gianvito and Shankar, Sadasivan and Stewart, Terrence C. and Sheik, Sadique and Eshraghian, Jason K.}, 
    rights={2024 The Author(s)},
    DOI={10.1038/s41467-024-52259-9}, 
    number={1},
    journal={Nature Communications}, 
    volume={15},
    year={2024}, 
    month=sep, 
    pages={8122},
}

About

Neuromorphic Intermediate Representation reference implementation

neuroir.org/docs

Topics

machine-learningneuromorphic

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

198 stars

Watchers

11 watching

Forks

50 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.