ReleaseMicrosoftMicrosoftpublished Dec 16, 2025seen Jun 26

microsoft/onnxscript v0.5.7

microsoft/onnxscript

Open original ↗

Captured source

source ↗
published Dec 16, 2025seen Jun 26captured 1whttp 200method plain

v0.5.7

Repository: microsoft/onnxscript

Tag: v0.5.7

Published: 2025-12-16T20:56:15Z

Prerelease: no

Release notes:

What's Changed

Optimizer and rewriter

  • Improve constant folding error messages and allow Identity to skip shape merging by @justinchuby in https://github.com/microsoft/onnxscript/pull/2670
  • Fix scalar constant check by @gramalingam in https://github.com/microsoft/onnxscript/pull/2672
  • Capture rewrite rule name as metadata by @gramalingam in https://github.com/microsoft/onnxscript/pull/2675
  • Keep creating constants when constants are folded inside ir.Function by @titaiwangms in https://github.com/microsoft/onnxscript/pull/2679
  • Avoid initializer name collision in _fuse_batchnorm.py by @titaiwangms in https://github.com/microsoft/onnxscript/pull/2680
  • Merge metadata props in rewriter by @gramalingam in https://github.com/microsoft/onnxscript/pull/2682
  • Implement SDPA via MHA by @gramalingam in https://github.com/microsoft/onnxscript/pull/2683
  • Don't constant fold Quantize/DequantizeLinear nodes by default by @ruro in https://github.com/microsoft/onnxscript/pull/2713
  • Fix unused initializer check by @gramalingam in https://github.com/microsoft/onnxscript/pull/2732

ONNX IR

  • Add option to clear metadata in ort fusion by @gramalingam in https://github.com/microsoft/onnxscript/pull/2685

Torch Lib

  • feat: implement LSTM and GRU operators for torchlib by @ombrdr47 in https://github.com/microsoft/onnxscript/pull/2674
  • [torchlib] Fix unbind.int if num_outputs=1 by @sebimarkgraf in https://github.com/microsoft/onnxscript/pull/2684
  • [torchlib] Fix mod on SymInt by @justinchuby in https://github.com/microsoft/onnxscript/pull/2686
  • Implement aten.stft by @moatom in https://github.com/microsoft/onnxscript/pull/2645
  • Add converter for unique_consecutive by @xadupre in https://github.com/microsoft/onnxscript/pull/2694
  • Add missing output_size kwarg to repeat_interleave by @yuanyao-nv in https://github.com/microsoft/onnxscript/pull/2691
  • add converter for aten::sym_storage_offset by @xadupre in https://github.com/microsoft/onnxscript/pull/2697
  • Implement ONNX export for fake_quantize_per_*_affine by @ruro in https://github.com/microsoft/onnxscript/pull/2696
  • Fix aten_unbind for torch >= 2.7 dynamo export by @afshin-paydar in https://github.com/microsoft/onnxscript/pull/2719
  • Update aten_index_put implementation by @gramalingam in https://github.com/microsoft/onnxscript/pull/2712
  • [torchlib] Fix and implement overloads for aten::remainder by @justinchuby in https://github.com/microsoft/onnxscript/pull/2727

Documentation

  • Utility and example for custom op expansion by @gramalingam in https://github.com/microsoft/onnxscript/pull/2701

Other Changes

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

New Contributors

  • @ombrdr47 made their first contribution in https://github.com/microsoft/onnxscript/pull/2674
  • @moatom made their first contribution in https://github.com/microsoft/onnxscript/pull/2645
  • @ruro made their first contribution in https://github.com/microsoft/onnxscript/pull/2696
  • @afshin-paydar made their first contribution in https://github.com/microsoft/onnxscript/pull/2719

Full Changelog: https://github.com/microsoft/onnxscript/compare/v0.5.6...v0.5.7