3.5 KiB
Install OpenVINO™ Runtime from Conan Package Manager
@sphinxdirective
.. meta:: :description: Learn how to install OpenVINO™ Runtime on Windows, Linux, and macOS operating systems, using Conan Package Manager.
.. note::
Note that the Conan Package Manager distribution:
- offers C/C++ API only
- does not offer support for GNA and NPU inference
- is dedicated to users of all major OSes: Windows, Linux, and macOS (all x86_64 / arm64 architectures)
.. tab-set::
.. tab-item:: System Requirements :sync: system-requirements
Full requirement listing is available in:
`System Requirements Page <https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/system-requirements.html>`__
.. tab-item:: Processor Notes :sync: processor-notes
To see if your processor includes the integrated graphics technology and supports iGPU inference, refer to:
`Product Specifications <https://ark.intel.com/content/www/us/en/ark.html>`__
.. tab-item:: Software :sync: software
There are many ways to work with Conan Package Manager. Before you proceed, learn more about it on the
`Conan distribution page <https://conan.io/downloads>`__
Installing OpenVINO Runtime with Conan Package Manager ############################################################
-
Install Conan 2.0.8 or higher:
.. code-block:: console
python3 -m pip install conan
-
Create a
conanfile.txtfile for your OpenVINO project and add "openvino" dependency in there:.. code-block:: console
[requires] openvino/2023.1.0 [generators] CMakeDeps CMakeToolchain [layout] cmake_layout
Run the command below to create
conan_toolchain.cmakefile, which will be used to compile your project with OpenVINO:.. code-block:: console
conan install conanfile.txt --build=missing
By default, OpenVINO is statically compiled, together with all available plugins and frontends. To build a version tailored to your needs, check what options there are on the
Conan Package Manager page for OpenVINO <https://conan.io/center/recipes/openvino>__ and extend the command, like so:.. code-block:: console
conan install conanfile.txt --build=missing -o:h openvino/:enable_intel_gpu=False -o:h openvino/:enable_onnx_frontend=False' -o:h openvino/*:shared=True.
-
Configure and compile your project with OpenVINO:
.. code-block:: console
cmake -DCMAKE_TOOLCHAIN_FILE= -DCMAKE_BUILD_TYPE=Release -S -B cmake --build --parallel
.. note::
OpenVINO can be used with any build interface, as long as it is supported by Conan 2.0.
Additional Resources ########################
Conan Package Manager <https://conan.io>__.- Learn more about :doc:
OpenVINO Workflow <openvino_workflow>. - To prepare your models for working with OpenVINO, see :doc:
Model Preparation <openvino_docs_model_processing_introduction>. - Learn more about :doc:
Inference with OpenVINO Runtime <openvino_docs_OV_UG_OV_Runtime_User_Guide>. - See sample applications in :doc:
OpenVINO toolkit Samples Overview <openvino_docs_OV_UG_Samples_Overview>. - Check out the OpenVINO product
home page <https://software.intel.com/en-us/openvino-toolkit>__.
@endsphinxdirective