Breaking changes since v1.x
v2.0.0 introduces several breaking changes
1. ONNX integration moved to Optimum ONNX
ONNX export and ONNX Runtime inference related integrations were moved to Optimum ONNX #2298
Installation
How to obtain the same behavior as v1.x
pip install "optimum-onnx[onnxruntime]"
or equivalently
pip install "optimum[onnxruntime]"
🚨 You shouldn't install optimum without an extra if you want to be able to export your model to ONNX, please follow the installation instructions from the documentation 🚨
ONNX Runtime Training
ONNX Runtime Training officially deprecated, more information on this in optimum-onnx v0.0.1 release notes
2. TF Lite export
TF Lite export officially deprecated #2340
3. BetterTransformer
BetterTransformer officially deprecated #2305
Improvements
Optimum pipelines
- Optimum pipelines by @IlyasMoutawwakil in #2343
General improvements
- Cleanup tasks manager by @IlyasMoutawwakil in #2346
- Remove legacy export by @IlyasMoutawwakil in #2359
- Native namespace packages (PEP 420) by @IlyasMoutawwakil in #2361
- Fix register loop by @IlyasMoutawwakil in #2364
New Contributors
- @openvino-dev-samples made their first contribution in #2335
Full Changelog: v1.27.0...v2.0.0