Nirtorch

Latest version: v2.0.2

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.0.2

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

2.0.1

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

2.0

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

1.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 ignore_submodules in extract_nir_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

0.2.1

This release follows the 0.2 release of [NIR](https://github.com/neuromorphs/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

0.2.0

We fixed things

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.