2018-11-20 00:48:22 +00:00
# Versioning
## API
ONNX Runtime follows [Semantic Versioning 2.0 ](https://semver.org/ ) for its public API.
2020-02-24 19:48:13 +00:00
Each release has the form MAJOR.MINOR.PATCH, adhering to the definitions from the linked semantic versioning doc.
2018-11-20 00:48:22 +00:00
## Current stable release version
The version number of the current stable release can be found
2019-07-02 00:11:50 +00:00
[here ](../VERSION_NUMBER ).
2018-11-20 00:48:22 +00:00
## Release cadence
2018-11-28 02:52:50 +00:00
See [Release Management ](ReleaseManagement.md )
2018-11-20 00:48:22 +00:00
2019-07-02 00:11:50 +00:00
# Compatibility
2018-11-20 00:48:22 +00:00
2020-02-24 19:48:13 +00:00
## Backwards compatibility
2018-11-20 00:48:22 +00:00
All versions of ONNX Runtime will support ONNX opsets all the way back to (and including) opset version 7.
2020-09-30 16:53:33 +00:00
In other words, if an ONNX Runtime release implements ONNX opset ver 9, it'll be able to run all
2020-04-18 21:18:05 +00:00
models that are stamped with ONNX opset versions in the range [7-9].
2018-11-20 00:48:22 +00:00
### Version matrix
2021-05-18 16:03:37 +00:00
The following table summarizes the relationship between the ONNX Runtime version and the ONNX opset version implemented in that release.
2020-09-30 16:53:33 +00:00
Please note the backward compatibility notes above.
2019-07-02 00:11:50 +00:00
For more details on ONNX Release versions, see [this page ](https://github.com/onnx/onnx/blob/master/docs/Versioning.md ).
2020-07-31 14:58:51 +00:00
| ONNX Runtime release version | ONNX release version | ONNX opset version | ONNX ML opset version | Supported ONNX IR version | [Windows ML Availability ](https://docs.microsoft.com/en-us/windows/ai/windows-ml/release-notes/ )|
2019-07-02 00:11:50 +00:00
|------------------------------|--------------------|--------------------|----------------------|------------------|------------------|
2021-12-15 07:32:06 +00:00
| 1.11.0 | **1.10** down to 1.2 | 15 | 2 | 7 | Windows AI 1.11+ |
2021-09-22 23:34:28 +00:00
| 1.10.0 | **1.10** down to 1.2 | 15 | 2 | 7 | Windows AI 1.10+ |
| 1.9.0 | **1.10** down to 1.2 | 15 | 2 | 7 | Windows AI 1.9+ |
2021-08-09 18:10:29 +00:00
| 1.8.2 | **1.9** down to 1.2 | 14 | 2 | 7 | Windows AI 1.8+ |
2021-08-05 13:49:50 +00:00
| 1.8.1 | **1.9** down to 1.2 | 14 | 2 | 7 | Windows AI 1.8+ |
| 1.8.0 | **1.9** down to 1.2 | 14 | 2 | 7 | Windows AI 1.8+ |
2021-02-18 03:07:38 +00:00
| 1.7.0 | **1.8** down to 1.2 | 13 | 2 | 7 | Windows AI 1.7+ |
2020-12-08 19:09:51 +00:00
| 1.6.0 | **1.8** down to 1.2 | 13 | 2 | 7 | Windows AI 1.6+ |
| 1.5.3 | **1.7** down to 1.2 | 12 | 2 | 7 | Windows AI 1.5+ |
| 1.5.2 | **1.7** down to 1.2 | 12 | 2 | 7 | Windows AI 1.5+ |
| 1.5.1 | **1.7** down to 1.2 | 12 | 2 | 7 | Windows AI 1.5+ |
| 1.4.0 | **1.7** down to 1.2 | 12 | 2 | 7 | Windows AI 1.4+ |
| 1.3.1 | **1.7** down to 1.2 | 12 | 2 | 7 | Windows AI 1.4+ |
| 1.3.0 | **1.7** down to 1.2 | 12 | 2 | 7 | Windows AI 1.3+ |
2020-07-31 14:58:51 +00:00
| 1.2.0< br > 1.1.2< br > 1.1.1< br > 1.1.0 | **1.6** down to 1.2 | 11 | 2 | 6 | Windows AI 1.3+ |
| 1.0.0 | **1.6** down to 1.2 | 11 | 2 | 6 | Windows AI 1.3+ |
| 0.5.0 | **1.5** down to 1.2 | 10 | 1 | 5 | Windows AI 1.3+ |
| 0.4.0 | **1.5** down to 1.2 | 10 | 1 | 5 | Windows AI 1.3+ |
| 0.3.1< br > 0.3.0 | **1.4** down to 1.2 | 9 | 1 | 3 | Windows 10 2004+ |
| 0.2.1< br > 0.2.0 | **1.3** down to 1.2 | 8 | 1 | 3 | Windows 10 1903+ |
| 0.1.5< br > 0.1.4 | **1.3** down to 1.2 | 8 | 1 | 3 | Windows 10 1809+ |
2019-07-02 00:11:50 +00:00
## Tool Compatibility
2020-02-24 19:48:13 +00:00
A variety of tools can be used to create ONNX models. Unless otherwise noted, please use the latest released version of the tools to convert/export the ONNX model. Most tools are backwards compatible and support multiple ONNX versions. Join this with the table above to evaluate ONNX Runtime compatibility.
2019-07-02 00:11:50 +00:00
|Tool|Recommended Version|Supported ONNX version(s)|
|---|---|---|
2020-02-24 19:48:13 +00:00
|[PyTorch](https://pytorch.org/)|[Latest stable](https://pytorch.org/get-started/locally/)|1.2-1.6|
|[ONNXMLTools](https://pypi.org/project/onnxmltools/)< br > CoreML, LightGBM, XGBoost, LibSVM|[Latest stable](https://github.com/onnx/onnxmltools/releases)|1.2-1.6|
2019-07-02 00:11:50 +00:00
|[ONNXMLTools](https://pypi.org/project/onnxmltools/)< br > SparkML|[Latest stable](https://github.com/onnx/onnxmltools/releases)|1.4-1.5|
2020-02-24 19:48:13 +00:00
|[SKLearn-ONNX](https://pypi.org/project/skl2onnx/)|[Latest stable](https://github.com/onnx/sklearn-onnx/releases)|1.2-1.6|
|[Keras-ONNX](https://pypi.org/project/keras2onnx/)|[Latest stable](https://github.com/onnx/keras-onnx/releases)|1.2-1.6|
|[Tensorflow-ONNX](https://pypi.org/project/tf2onnx/)|[Latest stable](https://github.com/onnx/tensorflow-onnx/releases)|1.2-1.6|
|[WinMLTools](https://docs.microsoft.com/en-us/windows/ai/windows-ml/convert-model-winmltools)|[Latest stable](https://pypi.org/project/winmltools/)|1.2-1.6|
2021-09-22 20:38:14 +00:00
|[Paddle2ONNX](https://pypi.org/project/paddle2onnx/)| [Latest stable ](https://github.com/PaddlePaddle/Paddle2ONNX/releases ) | 1.6-1.9 |
2019-07-02 00:11:50 +00:00
|[AutoML](https://docs.microsoft.com/en-us/azure/machine-learning/service/concept-automated-ml)|[1.0.39+](https://pypi.org/project/azureml-automl-core)|1.5|
2019-07-10 15:34:31 +00:00
| |[1.0.33](https://pypi.org/project/azureml-automl-core/1.0.33/)|1.4|
2019-07-02 00:11:50 +00:00