Migration & versioning
Version mapping
Information about ort
’s versioning and relation to ONNX Runtime versioning.
A note on SemVer
ort
versions pre-2.0 were not SemVer compatible. From v2.0 onwards, breaking API changes are accompanied by a major version update.
Updates to the version of ONNX Runtime used by ort
may occur on minor version updates, i.e. 2.0 ships with ONNX Runtime 1.17.3, but 2.1 may ship with 1.18.0. ONNX Runtime is generally forward compatible, but in case you require a specific version of ONNX Runtime, you should pin the minor version in your Cargo.toml
using a tilde requirement:
[dependencies]
ort = { version = "~2.0", ... }
Versions of ONNX Runtime used by ort
ort | ONNX Runtime |
---|---|
v2.0.0+ | v1.17.3 |
v1.16.0-v1.16.2 | v1.16.0 |
v1.15.0-v1.15.5 | v1.15.1 |
v1.14.2-v1.14.8 | v1.14.1 |
v1.14.0-v1.14.1 | v1.14.0 |
v1.13.1-v1.13.3 | v1.13.1 |
v1.13.0 | v1.12.1 |