mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-28 22:56:32 +00:00
Update documentation to include openmp dependency. (#545)
* Update documentation to include openmp dependency. * Update python docs as well
This commit is contained in:
parent
8e0fff7b8d
commit
714d4100bd
2 changed files with 20 additions and 15 deletions
34
README.md
34
README.md
|
|
@ -6,15 +6,15 @@
|
|||
[](https://dev.azure.com/onnxruntime/onnxruntime/_build/latest?definitionId=12)
|
||||
[](https://dev.azure.com/onnxruntime/onnxruntime/_build/latest?definitionId=13)
|
||||
|
||||
**ONNX Runtime** is an open-source scoring engine for Open Neural Network Exchange (ONNX) models.
|
||||
**ONNX Runtime** is an open-source scoring engine for Open Neural Network Exchange (ONNX) models.
|
||||
|
||||
ONNX is an open format for machine learning (ML) models that is supported by various ML and DNN frameworks and tools. This format makes it easier to interoperate between frameworks and to maximize the reach of your hardware optimization investments. Learn more about ONNX on [https://onnx.ai](https://onnx.ai) or view the [Github Repo](https://github.com/onnx/onnx).
|
||||
|
||||
# Why use ONNX Runtime
|
||||
ONNX is an open format for machine learning (ML) models that is supported by various ML and DNN frameworks and tools. This format makes it easier to interoperate between frameworks and to maximize the reach of your hardware optimization investments. Learn more about ONNX on [https://onnx.ai](https://onnx.ai) or view the [Github Repo](https://github.com/onnx/onnx).
|
||||
|
||||
# Why use ONNX Runtime
|
||||
ONNX Runtime is an open architecture that is continually evolving to adapt to and address the newest developments and challenges in AI and Deep Learning. We will keep ONNX Runtime up to date with the ONNX standard, supporting all ONNX releases with future compatibliity while maintaining backwards compatibility with prior releases.
|
||||
|
||||
ONNX Runtime continuously strives to provide top performance for a broad and growing number of usage scenarios in Machine Learning. Our investments focus on these 3 core areas:
|
||||
1. Run any ONNX model
|
||||
1. Run any ONNX model
|
||||
2. High performance
|
||||
3. Cross platform
|
||||
|
||||
|
|
@ -26,9 +26,9 @@ ONNX Runtime provides comprehensive support of the ONNX spec and can be used to
|
|||
As of January 2019, ONNX Runtime supports ONNX 1.3. We will soon add support for the recently released ONNX 1.4.
|
||||
|
||||
### Traditional ML support
|
||||
ONNX Runtime fully supports the ONNX-ML profile of the ONNX spec for traditional ML scenarios.
|
||||
ONNX Runtime fully supports the ONNX-ML profile of the ONNX spec for traditional ML scenarios.
|
||||
|
||||
## High Performance
|
||||
## High Performance
|
||||
You can use ONNX Runtime with both CPU and GPU hardware. You can also plug in additional execution providers to ONNX Runtime. With many graph optimizations and various accelerators, ONNX Runtime can often provide lower latency and higher efficiency compared to other runtimes. This provides smoother end-to-end customer experiences and lower costs from improved machine utilization.
|
||||
|
||||
Currently ONNX Runtime supports CUDA and MKL-DNN (with option to build with MKL) for computation acceleration. To add an execution provider, please refer to [this page](docs/AddingExecutionProvider.md).
|
||||
|
|
@ -37,23 +37,23 @@ We are continuously working to integrate new execution providers to provide impr
|
|||
* Intel MKL-DNN and nGraph
|
||||
* NVIDIA TensorRT
|
||||
|
||||
## Cross Platform
|
||||
## Cross Platform
|
||||
ONNX Runtime offers:
|
||||
* APIs for Python, C#, and C
|
||||
* Available for Linux, Windows, and Mac
|
||||
|
||||
See API documentation and package installation instructions [below](#Installation).
|
||||
See API documentation and package installation instructions [below](#Installation).
|
||||
|
||||
Looking ahead: To broaden the reach of the runtime, we will continue investments to make ONNX Runtime available and compatible with more platforms. These include but are not limited to:
|
||||
* C# for Mac
|
||||
* [ARM](BUILD.md##arm-builds)
|
||||
|
||||
# Getting Started
|
||||
If you need a model:
|
||||
* Check out the [ONNX Model Zoo](https://github.com/onnx/models) for ready-to-use pre-trained models.
|
||||
# Getting Started
|
||||
If you need a model:
|
||||
* Check out the [ONNX Model Zoo](https://github.com/onnx/models) for ready-to-use pre-trained models.
|
||||
* To get an ONNX model by exporting from various frameworks, see [ONNX Tutorials](https://github.com/onnx/tutorials).
|
||||
|
||||
If you already have an ONNX model, just [install the runtime](#Installation) for your machine to try it out. One easy way to deploy the model on the cloud is by using [Azure Machine Learning](https://azure.microsoft.com/en-us/services/machine-learning-service). See detailed instructions [here](https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-build-deploy-onnx).
|
||||
If you already have an ONNX model, just [install the runtime](#Installation) for your machine to try it out. One easy way to deploy the model on the cloud is by using [Azure Machine Learning](https://azure.microsoft.com/en-us/services/machine-learning-service). See detailed instructions [here](https://docs.microsoft.com/en-us/azure/machine-learning/service/how-to-build-deploy-onnx).
|
||||
|
||||
# Installation
|
||||
## APIs and Official Builds
|
||||
|
|
@ -65,8 +65,12 @@ If you already have an ONNX model, just [install the runtime](#Installation) for
|
|||
| [C++](onnxruntime/core/session/inference_session.h) | TBD | TBD |
|
||||
|
||||
## System Requirements
|
||||
* The OnnxRuntime binaries in CPU packages use OpenMP and depends on the library being available at runtime in the system. For Windows, OpenMP support comes as part of VC runtime. For Linux, the system must have the libgomp.so.1 installed.
|
||||
* The GPU builds require the CUDA9.1 and cuDNN 7.3 runtime libraries being installed in the system.
|
||||
* ONNX Runtime binaries in CPU packages use OpenMP and depends on the library being available at runtime in the
|
||||
system.
|
||||
* For Windows, OpenMP support comes as part of VC runtime. It is also available as redist packages:
|
||||
[vc_redist.x64.exe](https://aka.ms/vs/15/release/vc_redist.x64.exe) and [vc_redist.x86.exe](https://aka.ms/vs/15/release/vc_redist.x86.exe)
|
||||
* For Linux, the system must have the libgomp.so.1 which can be installed using ```apt-get install libgomp1```.
|
||||
* The GPU builds require the CUDA9.1 and cuDNN 7.3 runtime libraries being installed in the system.
|
||||
|
||||
## Build Details
|
||||
For details on the build configurations and information on how to create a build, see [Build ONNX Runtime](BUILD.md).
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ The core library is implemented in C++.
|
|||
PyPi for Linux Ubuntu 16.04, Python 3.5+ for both
|
||||
`CPU <https://pypi.org/project/onnxruntime/>`_ and
|
||||
`GPU <https://pypi.org/project/onnxruntime-gpu/>`_.
|
||||
Please see `system requirements <https://github.com/Microsoft/onnxruntime#system-requirements>`_ before installating the packages.
|
||||
This example demonstrates a simple prediction for an
|
||||
`ONNX-ML format <https://github.com/onnx/onnx/blob/master/docs/IR.md>`_
|
||||
model. The following file ``model.onnx`` is taken from
|
||||
|
|
|
|||
Loading…
Reference in a new issue