Skip to content

Releases: microsoft/onnxscript

v0.5.2

23 Sep 20:04
e67eeef
Compare
Choose a tag to compare

What's Changed

Optimizer and rewriter

Torch Lib

  • [torchlib] Fix aten_gather to correctly handle scalar indices by @linshokaku in #2566
  • [torchlib] Simplify linalg_vector_norm to remove the redundant Abs by @justinchuby in #2570

New Contributors

Full Changelog: v0.5.1...v0.5.2

v0.5.1

16 Sep 00:51
ea79022
Compare
Choose a tag to compare

What's Changed

Optimizer and rewriter

Other Changes

Full Changelog: v0.5.0...v0.5.1

v0.5.0

12 Sep 16:31
39f1015
Compare
Choose a tag to compare

What's Changed

Breaking Changes

Optimizer and rewriter

Torch Lib

Other Changes

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

22 Aug 20:44
f5b58e0
Compare
Choose a tag to compare

What's Changed

Breaking Changes

New Features

Optimizer and rewriter

  • Expose match functionality of rewrite-rule by extracting base classes by @Copilot in #2447
  • Implement MatchContext class for rewriter pattern matching by @Copilot in #2455
  • [Rewriter] Implement value/node level checkers for pattern matching infrastructure by @Copilot in #2459
  • fix: handling of default attrs in SimplifiedLayerNormalization + LayerNormalization🐛 by @KarelZe in #2396
  • Add initial support for RotaryEmbedding fusion for onnx opset 23 by @gramalingam in #2450
  • Attention mask for GQA fusion by @gramalingam in #2452
  • Handle matching against None explicitly by @gramalingam in #2460
  • [docs] Document rewriter pattern options by @Copilot in #2406
  • Rename fusion files by @gramalingam in #2476
  • [Rewriter] Add optimizer to fold Pad operators into Conv by @Johansmm in #2363
  • MHA fusion cleanup by @gramalingam in #2481
  • Remove double transpose flag in MHA fusion by @gramalingam in #2483
  • Add reproduction test case for incorrect slice rewrite and add potential fix by @sebimarkgraf in #2478
  • [ort_fusuion] Support fp16 in rms_norm fusion by @titaiwangms in #2491
  • Introduce layer-norm fusion by @gramalingam in #2492
  • Correctly create empty ints for Constant in rewriter by @justinchuby in #2497
  • Add Erf-based Gelu fusion rule by @gramalingam in #2495
  • Extend rewriter to handle subgraphs by @gramalingam in #2494
  • Minor fix for getting function's graph by @gramalingam in #2504
  • Fixes for when attr type can be ambiguous for empty lists by @justinchuby in #2505

Torch Lib

Other Changes

New Contributors

Full Changelog: v0.3.2...v0.4.0

v0.3.2

11 Jul 18:55
4eaa664
Compare
Choose a tag to compare

What's Changed

Optimizer and rewriter

  • Eliminate unnecessary ScatterND by @gramalingam in #2422
  • Change loop order during rewrite by @gramalingam in #2427
  • Cleanup elimination of redundant scatter-nd: consolidate rules and improve organization by @Copilot in #2426
  • [pass][reland] Enable DeduplicateInitializersPass by @titaiwangms in #2429
  • [Rewriter]: fuse successive Relu/Clip nodes by @AyoubMDL in #2410
  • Add support for onnx fusions by @gramalingam in #2412
  • Fix MatchResult.fail() call signature in redundant_scatter_nd.py by @Copilot in #2431
  • A couple of minor fixes on rewrite rules by @gramalingam in #2432
  • Reorder optimization passes by @gramalingam in #2433
  • Cleanup uses of onnxscript.rewriter.pattern - export symbols from main module by @Copilot in #2437
  • Improve redundant slice removal by @gramalingam in #2441
  • Make TransposeIdentity more robust by @justinchuby in #2443

ONNX IR

Torch Lib

Other Changes

Full Changelog: v0.3.1...v0.3.2

v0.3.1

26 Jun 19:26
2d603fb
Compare
Choose a tag to compare

What's Changed

Breaking Changes

Core ONNX Script

Optimizer and rewriter

Torch Lib

Documentation

Other Changes

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

30 May 01:52
143c531
Compare
Choose a tag to compare

Note

Starting from v0.3, onnxscript.ir is an alias of onnx_ir. Visit https://github.com/onnx/ir-py for source code.

What's Changed

Breaking Changes

Optimizer and rewriter

ONNX IR

Torch Lib

Other Changes

Full Changelog: v0.2.7...v0.3.0

v0.2.7

28 May 01:12
90f8c66
Compare
Choose a tag to compare

What's Changed

Optimizer and rewriter

ONNX IR

Torch Lib

Other Changes

Full Changelog: v0.2.6...v0.2.7

v0.2.6

22 May 18:21
f49709d
Compare
Choose a tag to compare

What's Changed

Breaking Changes

Optimizer and rewriter

ONNX IR

Torch Lib

Documentation

Other Changes

Full Changelog: v0.2.5...v0.2.6

v0.2.5

23 Apr 16:44
b68ec19
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • Constructor of ir.Function now takes metadata_props from the ir.Graph object. #2182

Core ONNX Script

  • Annotate script() with ParamSpec for more accurate typing by @justinchuby in #2178
  • Replace ast.NameConstant with ast.Constant and remove duplicates by @justinchuby in #2188

Optimizer and rewriter

ONNX IR

Torch Lib

Documentation

Other Changes

New Contributors

Full Changelog: v0.2.4...v0.2.5