ReleaseMicrosoftMicrosoftpublished Jan 29, 2026seen Jun 26

microsoft/onnxscript v0.6.0

microsoft/onnxscript

Open original ↗

Captured source

source ↗
published Jan 29, 2026seen Jun 26captured 3dhttp 200method plain

v0.6.0

Repository: microsoft/onnxscript

Tag: v0.6.0

Published: 2026-01-29T18:46:32Z

Prerelease: no

Release notes:

What's Changed

This release introduces breaking changes to ONNXFunction. The .param_schemas and schema properties are removed, and are replaced by .op_signature which is more flexible and captures the complete signature of the ONNXFunction.

Additionally, onnxscript's AST converter for the scripting mode has been migrated to fully leverage onnx-ir.

Breaking Changes

  • Remove ParamSchema by @justinchuby in https://github.com/microsoft/onnxscript/pull/2768
  • Replace op_schema with op_signature by @justinchuby in https://github.com/microsoft/onnxscript/pull/2771

Core ONNX Script

  • Fix call to ast.Expression by @justinchuby in https://github.com/microsoft/onnxscript/pull/2758
  • Remove creation of duplicate value by @gramalingam in https://github.com/microsoft/onnxscript/pull/2775
  • Remove duplicated return_var by @justinchuby in https://github.com/microsoft/onnxscript/pull/2776
  • Fix loop body value creation by @justinchuby in https://github.com/microsoft/onnxscript/pull/2777

Optimizer and rewriter

  • Add test for unused initializer check with graph outputs by @Copilot in https://github.com/microsoft/onnxscript/pull/2733
  • Add OutputFixPass and NameFixPass in optimize by @justinchuby in https://github.com/microsoft/onnxscript/pull/2779

Torch Lib

  • Add support for more complex operators by @simonbyrne in https://github.com/microsoft/onnxscript/pull/2734
  • [torchlib] Consolidate all overloads and prevent new ones from being created by @justinchuby in https://github.com/microsoft/onnxscript/pull/2621
  • [torchlib] Fix aten__native_batch_norm_legit_functional by @justinchuby in https://github.com/microsoft/onnxscript/pull/2753
  • [torchlib] Implement signbit by @justinchuby in https://github.com/microsoft/onnxscript/pull/2754
  • feat: modify aten_bilinear from einsum to matmul by @fw7th in https://github.com/microsoft/onnxscript/pull/2746
  • [torchlib] Migrate torchvision implementations by @justinchuby in https://github.com/microsoft/onnxscript/pull/2569
  • [torchlib] Fix linspace implementation for int64 by @Aravind-11 in https://github.com/microsoft/onnxscript/pull/2693
  • [torchlib] Fix prod and normal.float_float by @justinchuby in https://github.com/microsoft/onnxscript/pull/2762
  • Fix conversion when enable_gqa is False and dimension are different by @xadupre in https://github.com/microsoft/onnxscript/pull/2763
  • [torchlib] prims::sum by @justinchuby in https://github.com/microsoft/onnxscript/pull/2778
  • [torchlib] Fix irfft by @simonbyrne in https://github.com/microsoft/onnxscript/pull/2770

Other Changes

  • Bump version from 0.5.7 to 0.6.0 by @justinchuby in https://github.com/microsoft/onnxscript/pull/2735
  • Migrate onnxscript converter to use onnx ir by @gramalingam in https://github.com/microsoft/onnxscript/pull/2706
  • Added padding_idx=None option and new test cases for aten_embedding_bag by @crypto-a in https://github.com/microsoft/onnxscript/pull/2549
  • Move converter implementation files to _internal folder by @Copilot in https://github.com/microsoft/onnxscript/pull/2738
  • Minor cleanup of onnxscript converter by @gramalingam in https://github.com/microsoft/onnxscript/pull/2748
  • Update onnx_ir and onnx dependency versions by @justinchuby in https://github.com/microsoft/onnxscript/pull/2749
  • Add read permissions for contents in optional lint by @justinchuby in https://github.com/microsoft/onnxscript/pull/2750
  • Cleanup SymbolValue by @gramalingam in https://github.com/microsoft/onnxscript/pull/2752
  • Remove select_ir_versions from public API by @justinchuby in https://github.com/microsoft/onnxscript/pull/2739
  • Fix unicode issue by @gramalingam in https://github.com/microsoft/onnxscript/pull/2747
  • Clean up onnxscript/_internal/converter.py by @justinchuby in https://github.com/microsoft/onnxscript/pull/2759
  • Remove 3rd-party code by @justinchuby in https://github.com/microsoft/onnxscript/pull/2760
  • Create torch apis 2.11 by @justinchuby in https://github.com/microsoft/onnxscript/pull/2767
  • [ez] Expose FOLDED_FROM_KEY to onnxscript.optimizer public API by @Copilot in https://github.com/microsoft/onnxscript/pull/2773
  • Temporarily disable mypy by @justinchuby in https://github.com/microsoft/onnxscript/pull/2786
  • Support metadata_prop merge and version 25 in version converter by @titaiwangms in https://github.com/microsoft/onnxscript/pull/2782

New Contributors

  • @simonbyrne made their first contribution in https://github.com/microsoft/onnxscript/pull/2734
  • @crypto-a made their first contribution in https://github.com/microsoft/onnxscript/pull/2549
  • @fw7th made their first contribution in https://github.com/microsoft/onnxscript/pull/2746
  • @Aravind-11 made their first contribution in https://github.com/microsoft/onnxscript/pull/2693

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