Recent Releases of nirtorch

nirtorch - Adds missing mapping for Linearity

NIRTorch was missing a mapping for linear layers without bias, which maps to a Linear type rather than an Affine.

What's Changed

  • map torch.nn.Linear without bias as nir.Linear by @fabio-innatera in https://github.com/neuromorphs/NIRTorch/pull/42

Full Changelog: https://github.com/neuromorphs/NIRTorch/compare/v2.0.4...v2.0.5

- Python
Published by Jegp 8 months ago

nirtorch - v2.0.4 Added type_check flag to nir

What's Changed

  • Added type_check flag to nir export by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/41

Full Changelog: https://github.com/neuromorphs/NIRTorch/compare/v2.0.3...v2.0.4

- Python
Published by Jegp 8 months ago

nirtorch - v2.0.3 Improved graph parsing and inference

This release improves parsing and tracing of recurrent networks, improves type inference, and fixes some type check errors.

Thanks to @benkroehs and @fabio-innatera :tada:

What's Changed

  • Feature string read by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/33
  • Fix: NIRGraph error by disabling type checks by @benkroehs in https://github.com/neuromorphs/NIRTorch/pull/36
  • Added code to support recursion by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/34
  • NIR type inference and other fixes by @fabio-innatera in https://github.com/neuromorphs/NIRTorch/pull/39
  • Set Input and NIRGraph input_type based on first nodes in graph by @fabio-innatera in https://github.com/neuromorphs/NIRTorch/pull/40

New Contributors

  • @benkroehs made their first contribution in https://github.com/neuromorphs/NIRTorch/pull/36
  • @fabio-innatera made their first contribution in https://github.com/neuromorphs/NIRTorch/pull/39

Full Changelog: https://github.com/neuromorphs/NIRTorch/compare/v2.0.2...v2.0.3

- Python
Published by Jegp 8 months ago

nirtorch - Fixed a bug where nodes could be named after keywords

This release adds name checking to the generated Python code to avoid clashes with keywords

- Python
Published by Jegp about 1 year ago

nirtorch - Improved documentation and default values

A minor release to improve documentation and simplify default values in API

What's Changed

  • Improved documentation and default dictionary mapping by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/31

Full Changelog: https://github.com/neuromorphs/NIRTorch/compare/v2.0...v2.0.1

- Python
Published by Jegp about 1 year ago

nirtorch - NIRTorch v2.0 with torch.fx support

This release migrates torch graph parsing and NIR interpreting to torch.fx. Specifically, we introduce new API functions nir_to_torch and torch_to_nir and deprecates the old load and extract_nir_graph functions.

The main advantages of torch.fx is 1. Simplicity, since their API is close to a raw graph (which aligns well with NIR) and 2. Tracing that is purely symbolic so we can avoid passing mock data into the parsing functions. 3. Additionally, this lets us leverage pattern matching and similar abstract graph operations in the future.

What's Changed

  • Added license and citation by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/24
  • Fixed parsing of inputs for subgraphs by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/26
  • Ports the graph tracing to torch.fx by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/28
  • Updated README and version numbering by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/29

Full Changelog: https://github.com/neuromorphs/NIRTorch/compare/v1.0...v2.0

- Python
Published by Jegp about 1 year ago

nirtorch - NIRTorch v1.0

This is the first stable release of NIRTorch and is backed by a lot of effort from the contributors of NIR. Thankyou everyone! This version is consistent with the first release of NIR (https://github.com/neuromorphs/NIR/releases/tag/v1.0).

What's Changed

  • Feature import by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/8
  • Added test to sanitize module names by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/11
  • Nodes with None value as elements by @sheiksadique in https://github.com/neuromorphs/NIRTorch/pull/14
  • expose ignoresubmodules in extractnir_graph by @stevenabreu7 in https://github.com/neuromorphs/NIRTorch/pull/12
  • updated syntax by @sheiksadique in https://github.com/neuromorphs/NIRTorch/pull/20
  • Fix tests by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/22
  • Added option to execute stateful submodules by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/13

New Contributors

  • @stevenabreu7 made their first contribution in https://github.com/neuromorphs/NIRTorch/pull/12

Full Changelog: https://github.com/neuromorphs/NIRTorch/compare/v0.2.1...v1.0

- Python
Published by sheiksadique about 2 years ago

nirtorch - Named nodes and input/output types

This release follows the 0.2 release of NIR where input and output types were added.

What's Changed

  • Added shapes to graph edges by @Jegp in https://github.com/neuromorphs/NIRTorch/pull/7

New Contributors

  • @Jegp made their first contribution in https://github.com/neuromorphs/NIRTorch/pull/7

Full Changelog: https://github.com/neuromorphs/NIRTorch/compare/v0.2.0...v0.2.1

- Python
Published by Jegp over 2 years ago

nirtorch - Final release today

We fixed things

- Python
Published by biphasic over 2 years ago

nirtorch - Telluride final release

This release marks the result an amazing collaboration effort at the Telluride Neuromorphic workshop

- Python
Published by Jegp over 2 years ago

nirtorch - Adapted to NIR v0.1

This release adapts nirtorch to the latest changes in NIR

- Python
Published by Jegp over 2 years ago

nirtorch - Added from_nir to load PyTorch graphs from NIR

- Python
Published by Jegp over 2 years ago

nirtorch - First release

Releases nirtorch as a means to convert PyTorch models into neuromorphic intermediate representation (NIR) format.

- Python
Published by Jegp over 2 years ago