ONNX Runtime v1.1.0 adds Android NNAPI and Java API previews, shared-library custom ops, and BERT/TensorRT performance upgrades.
$ git clone --branch v1.1.0 https://github.com/microsoft/onnxruntime.git # already have the repo? check out this version: $ git checkout v1.1.0
- ›Adds preview NN API Execution Provider for Android, enabling on-device inference via Android's Neural Networks API.
- ›Adds preview Java API for ONNX Runtime, bringing Java application support to the runtime.
- ›Custom ops can now be packaged in shared libraries and loaded at runtime, allowing distribution across multiple applications without modification.
- ›Adds a Python tool that automatically maps a pandas DataFrame to ONNX graph inputs based on schema information, located at
onnxruntime/python/tools/featurizer_ops. - ›TensorRT Execution Provider gains support for inputs with dynamic shapes.
+2 moreshow less
- ›Fused CPU kernels added for Attention,
EmbedLayerNormalization,SkipLayerNormalization, andFastGeluoperators to accelerate BERT model inference. - ›MKL-DNN (now renamed DNNL) updated to v1.1.