v0.6.0
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 #2768
- Replace op_schema with op_signature by @justinchuby in #2771
Core ONNX Script
- Fix call to ast.Expression by @justinchuby in #2758
- Remove creation of duplicate value by @gramalingam in #2775
- Remove duplicated return_var by @justinchuby in #2776
- Fix loop body value creation by @justinchuby in #2777
Optimizer and rewriter
- Add test for unused initializer check with graph outputs by @Copilot in #2733
- Add OutputFixPass and NameFixPass in optimize by @justinchuby in #2779
Torch Lib
- Add support for more complex operators by @simonbyrne in #2734
- [torchlib] Consolidate all overloads and prevent new ones from being created by @justinchuby in #2621
- [torchlib] Fix
aten__native_batch_norm_legit_functionalby @justinchuby in #2753 - [torchlib] Implement signbit by @justinchuby in #2754
- feat: modify aten_bilinear from einsum to matmul by @fw7th in #2746
- [torchlib] Migrate torchvision implementations by @justinchuby in #2569
- [torchlib] Fix linspace implementation for int64 by @Aravind-11 in #2693
- [torchlib] Fix prod and normal.float_float by @justinchuby in #2762
- Fix conversion when enable_gqa is False and dimension are different by @xadupre in #2763
- [torchlib] prims::sum by @justinchuby in #2778
- [torchlib] Fix irfft by @simonbyrne in #2770
Other Changes
- Bump version from 0.5.7 to 0.6.0 by @justinchuby in #2735
- Migrate onnxscript converter to use onnx ir by @gramalingam in #2706
- Added padding_idx=None option and new test cases for aten_embedding_bag by @crypto-a in #2549
- Move converter implementation files to _internal folder by @Copilot in #2738
- Minor cleanup of onnxscript converter by @gramalingam in #2748
- Update onnx_ir and onnx dependency versions by @justinchuby in #2749
- Add read permissions for contents in optional lint by @justinchuby in #2750
- Cleanup SymbolValue by @gramalingam in #2752
- Remove
select_ir_versionsfrom public API by @justinchuby in #2739 - Fix unicode issue by @gramalingam in #2747
- Clean up onnxscript/_internal/converter.py by @justinchuby in #2759
- Remove 3rd-party code by @justinchuby in #2760
- Create torch apis 2.11 by @justinchuby in #2767
- [ez] Expose FOLDED_FROM_KEY to onnxscript.optimizer public API by @Copilot in #2773
- Temporarily disable mypy by @justinchuby in #2786
- Support metadata_prop merge and version 25 in version converter by @titaiwangms in #2782
New Contributors
- @simonbyrne made their first contribution in #2734
- @crypto-a made their first contribution in #2549
- @fw7th made their first contribution in #2746
- @Aravind-11 made their first contribution in #2693
Full Changelog: v0.5.7...v0.6.0