Skip to content

Releases: microsoft/onnxscript

v0.5.7

16 Dec 20:56
b444529

Choose a tag to compare

What's Changed

Optimizer and rewriter

ONNX IR

Torch Lib

Documentation

Other Changes

  • Add GQA fusion test cases by @gramalingam in #2669
  • chore(deps): bump ruff from 0.14.2 to 0.14.3 in /requirements/lintrunner by @dependabot[bot] in #2676
  • chore(deps): bump editorconfig-checker from 3.4.0 to 3.4.1 in /requirements/lintrunner by @dependabot[bot] in #2677
  • chore(deps): bump onnx-weekly from 1.20.0.dev20251027 to 1.21.0.dev20251103 in /requirements/ci by @dependabot[bot] in #2678
  • Bump version by @gramalingam in #2702
  • Provide inplace replacement util by @gramalingam in #2708
  • chore(deps): bump ruff from 0.14.3 to 0.14.6 in /requirements/lintrunner by @dependabot[bot] in #2716
  • chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #2715
  • chore(deps): bump onnxruntime from 1.23.1 to 1.23.2 in /requirements/ci by @dependabot[bot] in #2652
  • chore(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #2626
  • chore(deps): bump ruff from 0.14.6 to 0.14.7 in /requirements/lintrunner by @dependabot[bot] in #2721
  • support opset23 by @titaiwangms in #2725
  • chore(deps): bump actions/upload-artifact from 5 to 6 by @dependabot[bot] in #2730
  • chore(deps): bump ruff from 0.14.7 to 0.14.9 in /requirements/lintrunner by @dependabot[bot] in #2731

New Contributors

Full Changelog: v0.5.6...v0.5.7

v0.5.6

31 Oct 05:40
3846705

Choose a tag to compare

What's Changed

Optimizer and rewriter

Full Changelog: v0.5.5...v0.5.6

v0.5.5

30 Oct 22:59
ee9a6e8

Choose a tag to compare

What's Changed

Breaking Changes

  • Create initializers not constant nodes in constant folding pass by @titaiwangms in #2650

Core ONNX Script

Optimizer and rewriter

Torch Lib

Other Changes

Full Changelog: v0.5.4...v0.5.5

v0.5.4

16 Oct 16:52
75b3d42

Choose a tag to compare

What's Changed

Optimizer and rewriter

Torch Lib

Other Changes

Full Changelog: v0.5.3...v0.5.4

v0.5.3

01 Oct 01:21
929a7f2

Choose a tag to compare

What's Changed

Optimizer and rewriter

Torch Lib

Other Changes

New Contributors

Full Changelog: v0.5.2...v0.5.3

v0.5.2

23 Sep 20:04
e67eeef

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

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

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

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

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