v0.7.1
What's Changed
Breaking Changes
The op.op() interface in rewrite rules will now require inputs and attributes to be specified as args and kwargs, instead of a list and a dictionary.
- Unify BuilderBase and GraphBuilder: shared call_op with feature flags by G. Ramalingam (@gramalingam) in #2910
Optimizer and rewriter
- Rewriter: fix fuse_relu_clip with None max by Ayoub BIH (@AyoubMDL) in #2843
Torch Lib
- Fix incorrect float output dtype in aten_arange_start_step default step by Ti-Tai Wang (@titaiwangms) with @Copilot in #2927
- Set exclude_outside=1 on Resize for antialiased upsample by SamareshSingh (@ssam18) in #2916
- Add
torchvision.ops.deform_conv2dand opset19-specific tests by f-fuchs (@f-fuchs) in #2923 - Fix aten_gru: add linear_before_reset=1 to match PyTorch GRU semantics by Justin Chu (@justinchuby) with @Copilot in #2853
- Fix upsample half pixel mode for size one by PrithviBadiga in #2918
- Fix aten_stft ONNX spec violations by Justin Chu (@justinchuby) in #2943
- [torchlib] Implement quantize_per_channel and dequantize_per_channel by Justin Chu (@justinchuby) with @Copilot in #2390
Other Changes
- Bumped version to 0.7.1 by Tommaso Adani (@tadani3) in #2897
- Add more fusion test-cases (part 1) by G. Ramalingam (@gramalingam) in #2896
- Add remaining high-priority rewriter extended tests by G. Ramalingam (@gramalingam) in #2899
- Remove dead Opset function_defs registration by G. Ramalingam (@gramalingam) in #2901
- chore(deps): bump onnxruntime from 1.24.2 to 1.25.1 in /requirements/ci by Dependabot (@dependabot)[bot] in #2902
- chore(deps): bump onnx-weekly from 1.22.0.dev20260330 to 1.22.0.dev20260421 in /requirements/ci by Dependabot (@dependabot)[bot] in #2898
- Fix nn.PixelUnshuffle wrong channel ordering (replace SpaceToDepth with Reshape→Transpose→Reshape) by Justin Chu (@justinchuby) with @Copilot in #2892
- Fix two breaking CI failures: reshape-reshape rule test and logsumexp float16 tolerance by Justin Chu (@justinchuby) with @Copilot in #2907
- Refactor: Introduce OpBuilderBase/TapeBuilder as unified op-building interface by G. Ramalingam (@gramalingam) in #2905
- Bump lintrunner mypy dependency to 2.0.0 by Justin Chu (@justinchuby) with @Copilot in #2912
- Expose build_function and build_graph in public API by G. Ramalingam (@gramalingam) in #2913
- Fix fuse_pad_into_conv incorrectly fusing when Pad contains negative values by Justin Chu (@justinchuby) with @Copilot in #2841
- Fix incorrect dtype default in aten_full causing ONNX shape-inference errors by Ti-Tai Wang (@titaiwangms) with @Copilot in #2926
- Fix aten_masked_scatter for broadcasting masks by Burak Mert Gonultas (@gonultasbu) in #2929
- fix: invoke NameFixPass after graph-modifying operations in rewriter, version-converter, and optimizer by G. Ramalingam (@gramalingam) in #2922
- chore(deps): bump codecov/codecov-action from 6 to 7 by Dependabot (@dependabot)[bot] in #2934
New Contributors
- SamareshSingh (@ssam18) made their first contribution in #2916
- f-fuchs (@f-fuchs) made their first contribution in #2923
- Burak Mert Gonultas (@gonultasbu) made their first contribution in #2929
- PrithviBadiga made their first contribution in #2918
Full Changelog: v0.7.0...v0.7.1