From 016340fcfff4815103083bf9f9e16419ea34cf90 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Mon, 18 Sep 2023 12:04:09 +0400 Subject: [PATCH] [DOCS] updated archives for 2023.1 (#19896) --- docs/Documentation/openvino_ecosystem.md | 1 + .../deployment/local-distribution.md | 1 + docs/get_started/get_started_demos.md | 2 +- .../--installing-model-dev-tools.md | 2 +- .../install_guides/installing-openvino-apt.md | 10 ++- .../installing-openvino-brew.md | 2 +- .../installing-openvino-conda.md | 6 +- .../installing-openvino-from-archive-linux.md | 88 +++++++++---------- .../installing-openvino-from-archive-macos.md | 20 ++--- ...nstalling-openvino-from-archive-windows.md | 18 ++-- .../install_guides/installing-openvino-pip.md | 2 +- .../installing-openvino-vcpkg.md | 24 +++-- .../install_guides/installing-openvino-yum.md | 5 +- docs/snippets/export_compiled_model.cpp | 8 +- 14 files changed, 99 insertions(+), 90 deletions(-) diff --git a/docs/Documentation/openvino_ecosystem.md b/docs/Documentation/openvino_ecosystem.md index 2a1c7c9cfc8..733e6870eb9 100644 --- a/docs/Documentation/openvino_ecosystem.md +++ b/docs/Documentation/openvino_ecosystem.md @@ -27,6 +27,7 @@ More resources: * :doc:`Documentation ` * `GitHub `__ * `PyPI `__ +* `Conda Forge `__ **OpenVINO™ Training Extensions** diff --git a/docs/OV_Runtime_UG/deployment/local-distribution.md b/docs/OV_Runtime_UG/deployment/local-distribution.md index 397e10bdde6..7dfa3fea0f1 100644 --- a/docs/OV_Runtime_UG/deployment/local-distribution.md +++ b/docs/OV_Runtime_UG/deployment/local-distribution.md @@ -137,6 +137,7 @@ OpenVINO Runtime uses frontend libraries dynamically to read models in different - ``openvino_tensorflow_lite_frontend`` is used to read the TensorFlow Lite file format. - ``openvino_onnx_frontend`` is used to read the ONNX file format. - ``openvino_paddle_frontend`` is used to read the Paddle file format. +- ``openvino_pytorch_frontend`` is used to convert PyTorch model via ``openvino.convert_model`` API. Depending on the model format types that are used in the application in `ov::Core::read_model `__, select the appropriate libraries. diff --git a/docs/get_started/get_started_demos.md b/docs/get_started/get_started_demos.md index 0ec61b0f0c3..c7d940c676c 100644 --- a/docs/get_started/get_started_demos.md +++ b/docs/get_started/get_started_demos.md @@ -58,7 +58,7 @@ To install OpenVINO Development Tools, follow the :doc:`instructions for C++ dev Build Samples +++++++++++++ -To build OpenVINO samples, follow the build instructions for your operating system on the :doc:`OpenVINO Samples ` page. The build will take about 5-10 minutes, depending on your system. +To build OpenVINO samples, follow the build instructions for your operating system on the :doc:`OpenVINO Samples ` page. The build will take about 1-2 minutes, depending on your system. .. _download-models: diff --git a/docs/install_guides/--installing-model-dev-tools.md b/docs/install_guides/--installing-model-dev-tools.md index 84b7d0069a0..366034bafca 100644 --- a/docs/install_guides/--installing-model-dev-tools.md +++ b/docs/install_guides/--installing-model-dev-tools.md @@ -149,7 +149,7 @@ For example, to install and configure dependencies required for working with Ten Model conversion API support for TensorFlow 1.x environment has been deprecated. Use the ``tensorflow2`` parameter to install a TensorFlow 2.x environment that can convert both TensorFlow 1.x and 2.x models. If your model isn't compatible with the TensorFlow 2.x environment, use the `tensorflow` parameter to install the TensorFlow 1.x environment. The TF 1.x environment is provided only for legacy compatibility reasons. -For more details on the openvino-dev PyPI package, see `pypi.org `__ . +For more details on the openvino-dev PyPI package, see `pypi.org `__ . Step 5. Test the Installation +++++++++++++++++++++++++++++ diff --git a/docs/install_guides/installing-openvino-apt.md b/docs/install_guides/installing-openvino-apt.md index 9b4119239b9..6dee8f9f19e 100644 --- a/docs/install_guides/installing-openvino-apt.md +++ b/docs/install_guides/installing-openvino-apt.md @@ -13,7 +13,6 @@ * offers both C/C++ and Python APIs * does not offer support for GNA and NPU inference * additionally includes code samples - * is dedicated to Linux users. .. tab-set:: @@ -146,7 +145,7 @@ Step 2: Install OpenVINO Runtime Using the APT Package Manager .. code-block:: sh - sudo apt install openvino-2023.0.0 + sudo apt install openvino-2023.1.0 .. note:: @@ -188,6 +187,11 @@ For C++ and C, just run the ``build_samples.sh`` script: /usr/share/openvino/samples/c/build_samples.sh +Python samples can run as following: + +.. code-block:: sh + + python3 /usr/share/openvino/samples/python/hello_query_device/hello_query_device.py Uninstalling OpenVINO Runtime ####################################### @@ -214,7 +218,7 @@ To uninstall OpenVINO Runtime via APT, run the following command based on your n .. code-block:: sh - sudo apt autoremove openvino-2023.0.0 + sudo apt autoremove openvino-2023.1.0 What's Next? diff --git a/docs/install_guides/installing-openvino-brew.md b/docs/install_guides/installing-openvino-brew.md index 6a27a688b93..93f20e2ae26 100644 --- a/docs/install_guides/installing-openvino-brew.md +++ b/docs/install_guides/installing-openvino-brew.md @@ -12,7 +12,7 @@ * offers both C/C++ and Python APIs * does not offer support for GNA and NPU inference - * is dedicated to macOS and Linux users. + * is dedicated to macOS (both arm64 and x86_64) and Linux (x86_64 only) users. .. tab-set:: diff --git a/docs/install_guides/installing-openvino-conda.md b/docs/install_guides/installing-openvino-conda.md index 29303de40c2..dd76f8b980c 100644 --- a/docs/install_guides/installing-openvino-conda.md +++ b/docs/install_guides/installing-openvino-conda.md @@ -13,7 +13,7 @@ * offers both C/C++ and Python APIs * does not offer support for GNA and NPU inference - * is dedicated to users of all major OSs: Windows, Linux, macOS. + * is dedicated to users of all major OSs: Windows, Linux, macOS and x86_64 / arm64 architectures .. tab-set:: @@ -62,7 +62,7 @@ Installing OpenVINO Runtime with Anaconda Package Manager .. code-block:: sh - conda install -c conda-forge openvino=2023.0.1 + conda install -c conda-forge openvino=2023.1.0 Congratulations! You've just Installed OpenVINO! For some use cases you may still need to install additional components. Check the description below, as well as the @@ -100,7 +100,7 @@ with the proper OpenVINO version number: .. code-block:: sh - conda remove openvino=2023.0.1 + conda remove openvino=2023.1.0 What's Next? diff --git a/docs/install_guides/installing-openvino-from-archive-linux.md b/docs/install_guides/installing-openvino-from-archive-linux.md index d7cfdf8d224..c95601e66e1 100644 --- a/docs/install_guides/installing-openvino-from-archive-linux.md +++ b/docs/install_guides/installing-openvino-from-archive-linux.md @@ -12,8 +12,8 @@ Note that the Archive distribution: * offers both C/C++ and Python APIs - * additionally includes code samples - * is dedicated to users of all major OSs: Windows, Linux, macOS + * additionally includes code samples + * is dedicated to users of all major OSs: Windows, Linux, macOS and x86_64 / arm64 architectures * may offer different hardware support under different operating systems (see the drop-down below for more details). @@ -119,7 +119,7 @@ Step 1: Download and Install the OpenVINO Core Components cd /Downloads -4. Download the `OpenVINO Runtime archive file for your system `_, extract the files, rename the extracted folder and move it to the desired path: +4. Download the `OpenVINO Runtime archive file for your system `_, extract the files, rename the extracted folder and move it to the desired path: .. tab-set:: @@ -132,71 +132,71 @@ Step 1: Download and Install the OpenVINO Core Components :sync: ubuntu-22 .. code-block:: sh - - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/linux/l_openvino_toolkit_ubuntu22_2023.0.1.11005.fa1c41994f3_x86_64.tgz --output openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv l_openvino_toolkit_ubuntu22_2023.0.1.11005.fa1c41994f3_x86_64 /opt/intel/openvino_2023.0.1 - + + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/linux/l_openvino_toolkit_ubuntu22_2023.1.0.12185.47b736f63ed_x86_64.tgz --output openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv l_openvino_toolkit_ubuntu22_2023.1.0.12185.47b736f63ed_x86_64 /opt/intel/openvino_2023.1.0 + .. tab-item:: Ubuntu 20.04 :sync: ubuntu-20 .. code-block:: sh - - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/linux/l_openvino_toolkit_ubuntu20_2023.0.1.11005.fa1c41994f3_x86_64.tgz --output openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv l_openvino_toolkit_ubuntu20_2023.0.1.11005.fa1c41994f3_x86_64 /opt/intel/openvino_2023.0.1 - + + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/linux/l_openvino_toolkit_ubuntu20_2023.1.0.12185.47b736f63ed_x86_64.tgz --output openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv l_openvino_toolkit_ubuntu20_2023.1.0.12185.47b736f63ed_x86_64 /opt/intel/openvino_2023.1.0 + .. tab-item:: Ubuntu 18.04 :sync: ubuntu-18 .. code-block:: sh - - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/linux/l_openvino_toolkit_ubuntu18_2023.0.1.11005.fa1c41994f3_x86_64.tgz --output openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv l_openvino_toolkit_ubuntu18_2023.0.1.11005.fa1c41994f3_x86_64 /opt/intel/openvino_2023.0.1 - + + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/linux/l_openvino_toolkit_ubuntu18_2023.1.0.12185.47b736f63ed_x86_64.tgz --output openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv l_openvino_toolkit_ubuntu18_2023.1.0.12185.47b736f63ed_x86_64 /opt/intel/openvino_2023.1.0 + .. tab-item:: RHEL 8 :sync: rhel-8 .. code-block:: sh - - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/linux/l_openvino_toolkit_rhel8_2023.0.1.11005.fa1c41994f3_x86_64.tgz --output openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv l_openvino_toolkit_rhel8_2023.0.1.11005.fa1c41994f3_x86_64 /opt/intel/openvino_2023.0.1 - + + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/linux/l_openvino_toolkit_rhel8_2023.1.0.12185.47b736f63ed_x86_64.tgz --output openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv l_openvino_toolkit_rhel8_2023.1.0.12185.47b736f63ed_x86_64 /opt/intel/openvino_2023.1.0 + .. tab-item:: CentOS 7 :sync: centos-7 .. code-block:: sh - - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/linux/l_openvino_toolkit_centos7_2023.0.1.11005.fa1c41994f3_x86_64.tgz --output openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv l_openvino_toolkit_centos7_2023.0.1.11005.fa1c41994f3_x86_64 /opt/intel/openvino_2023.0.1 - + + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/linux/l_openvino_toolkit_centos7_2023.1.0.12185.47b736f63ed_x86_64.tgz --output openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv l_openvino_toolkit_centos7_2023.1.0.12185.47b736f63ed_x86_64 /opt/intel/openvino_2023.1.0 + .. tab-item:: ARM 64-bit :sync: arm-64 .. code-block:: sh - - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/linux/l_openvino_toolkit_debian9_2023.0.1.11005.fa1c41994f3_arm64.tgz -O openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv l_openvino_toolkit_debian9_2023.0.1.11005.fa1c41994f3_arm64 /opt/intel/openvino_2023.0.1 - + + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/linux/l_openvino_toolkit_debian9_2023.1.0.12185.47b736f63ed_arm64.tgz -O openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv l_openvino_toolkit_debian9_2023.1.0.12185.47b736f63ed_arm64 /opt/intel/openvino_2023.1.0 + .. tab-item:: ARM 32-bit :sync: arm-32 .. code-block:: sh - - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/linux/l_openvino_toolkit_debian9_2023.0.1.11005.fa1c41994f3_armhf.tgz -O openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv l_openvino_toolkit_debian9_2023.0.1.11005.fa1c41994f3_armhf /opt/intel/openvino_2023.0.1 - - + + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/linux/l_openvino_toolkit_debian9_2023.1.0.12185.47b736f63ed_armhf.tgz -O openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv l_openvino_toolkit_debian9_2023.1.0.12185.47b736f63ed_armhf /opt/intel/openvino_2023.1.0 + + 5. Install required system dependencies on Linux. To do this, OpenVINO provides a script in the extracted installation directory. Run the following command: .. code-block:: sh - cd /opt/intel/openvino_2023.0.1 + cd /opt/intel/openvino_2023.1.0 sudo -E ./install_dependencies/install_openvino_dependencies.sh 6. (Optional) Install *numpy* Python Library: @@ -205,11 +205,11 @@ Step 1: Download and Install the OpenVINO Core Components This step is required only when you decide to use Python API. - You can use the ``requirements.txt`` file from the ``/opt/intel/openvino_2023.0.1/python`` folder: + You can use the ``requirements.txt`` file from the ``/opt/intel/openvino_2023.1.0/python`` folder: .. code-block:: sh - cd /opt/intel/openvino_2023.0.1 + cd /opt/intel/openvino_2023.1.0 python3 -m pip install -r ./python/requirements.txt 7. For simplicity, it is useful to create a symbolic link as below: @@ -217,8 +217,8 @@ Step 1: Download and Install the OpenVINO Core Components .. code-block:: sh cd /opt/intel - sudo ln -s openvino_2023.0.1 openvino_2023 - + sudo ln -s openvino_2023.1.0 openvino_2023 + .. note:: If you have already installed a previous release of OpenVINO 2023, a symbolic link to the ``openvino_2023`` folder may already exist. Unlink the previous link with ``sudo unlink openvino_2023``, and then re-run the command above. diff --git a/docs/install_guides/installing-openvino-from-archive-macos.md b/docs/install_guides/installing-openvino-from-archive-macos.md index ac5150e1329..759350a33c4 100644 --- a/docs/install_guides/installing-openvino-from-archive-macos.md +++ b/docs/install_guides/installing-openvino-from-archive-macos.md @@ -60,7 +60,7 @@ Step 1: Install OpenVINO Core Components cd /Downloads -4. Download the `OpenVINO Runtime archive file for macOS `__, extract the files, rename the extracted folder and move it to the desired path: +4. Download the `OpenVINO Runtime archive file for macOS `__, extract the files, rename the extracted folder and move it to the desired path: .. tab-set:: @@ -69,18 +69,18 @@ Step 1: Install OpenVINO Core Components .. code-block:: sh - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/macos/m_openvino_toolkit_macos_10_15_2023.0.1.11005.fa1c41994f3_x86_64.tgz --output openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv m_openvino_toolkit_macos_10_15_2023.0.1.11005.fa1c41994f3_x86_64 /opt/intel/openvino_2023.0.1 + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/macos/m_openvino_toolkit_macos_10_15_2023.1.0.12185.47b736f63ed_x86_64.tgz --output openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv m_openvino_toolkit_macos_10_15_2023.1.0.12185.47b736f63ed_x86_64 /opt/intel/openvino_2023.1.0 .. tab-item:: ARM, 64-bit :sync: arm-64 .. code-block:: sh - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/macos/m_openvino_toolkit_macos_11_0_2023.0.1.11005.fa1c41994f3_arm64.tgz --output openvino_2023.0.1.tgz - tar -xf openvino_2023.0.1.tgz - sudo mv m_openvino_toolkit_macos_11_0_2023.0.1.11005.fa1c41994f3_arm64 /opt/intel/openvino_2023.0.1 + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/macos/m_openvino_toolkit_macos_11_0_2023.1.0.12185.47b736f63ed_arm64.tgz --output openvino_2023.1.0.tgz + tar -xf openvino_2023.1.0.tgz + sudo mv m_openvino_toolkit_macos_11_0_2023.1.0.12185.47b736f63ed_arm64 /opt/intel/openvino_2023.1.0 5. (Optional) Install *numpy* Python Library: @@ -88,18 +88,18 @@ Step 1: Install OpenVINO Core Components This step is required only when you decide to use Python API. - You can use the ``requirements.txt`` file from the ``/opt/intel/openvino_2023.0.1/python`` folder: + You can use the ``requirements.txt`` file from the ``/opt/intel/openvino_2023.1.0/python`` folder: .. code-block:: sh - cd /opt/intel/openvino_2023.0.1 + cd /opt/intel/openvino_2023.1.0 python3 -m pip install -r ./python/requirements.txt 6. For simplicity, it is useful to create a symbolic link as below: .. code-block:: sh - sudo ln -s /opt/intel/openvino_2023.0.1 /opt/intel/openvino_2023 + sudo ln -s /opt/intel/openvino_2023.1.0 /opt/intel/openvino_2023 .. note:: diff --git a/docs/install_guides/installing-openvino-from-archive-windows.md b/docs/install_guides/installing-openvino-from-archive-windows.md index 03ba2309807..2ab2776a235 100644 --- a/docs/install_guides/installing-openvino-from-archive-windows.md +++ b/docs/install_guides/installing-openvino-from-archive-windows.md @@ -76,19 +76,19 @@ Step 1: Download and Install OpenVINO Core Components ``C:\Program Files (x86)\Intel`` is the recommended folder. You may also use a different path if desired or if you don't have administrator privileges on your computer. -2. Download the `OpenVINO Runtime archive file for Windows `__ to your local ``Downloads`` folder. +2. Download the `OpenVINO Runtime archive file for Windows `__ to your local ``Downloads`` folder. If you prefer using command-lines, run the following commands in the command prompt window you opened: .. code-block:: sh cd /Downloads - curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.1/windows/w_openvino_toolkit_windows_2023.0.1.11005.fa1c41994f3_x86_64.zip --output openvino_2023.0.1.zip + curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1.0/windows/w_openvino_toolkit_windows_2023.1.0.12185.47b736f63ed_x86_64.zip --output openvino_2023.1.0.zip .. note:: - A ``.sha256`` file is provided together with the archive file to validate your download process. To do that, download the ``.sha256`` file from the same repository and run ``CertUtil -hashfile openvino_2023.0.1.zip SHA256``. Compare the returned value in the output with what's in the ``.sha256`` file: if the values are the same, you have downloaded the correct file successfully; if not, create a Support ticket `here `__. + A ``.sha256`` file is provided together with the archive file to validate your download process. To do that, download the ``.sha256`` file from the same repository and run ``CertUtil -hashfile openvino_2023.1.0.zip SHA256``. Compare the returned value in the output with what's in the ``.sha256`` file: if the values are the same, you have downloaded the correct file successfully; if not, create a Support ticket `here `__. 3. Use your favorite tool to extract the archive file, rename the extracted folder, and move it to the ``C:\Program Files (x86)\Intel`` directory. @@ -97,9 +97,9 @@ Step 1: Download and Install OpenVINO Core Components .. code-block:: sh - tar -xf openvino_2023.0.1.zip - ren w_openvino_toolkit_windows_2023.0.0.10926.b4452d56304_x86_64 openvino_2023.0.1 - move openvino_2023.0.1 "C:\Program Files (x86)\Intel" + tar -xf openvino_2023.1.0.zip + ren w_openvino_toolkit_windows_2023.1.0.10926.b4452d56304_x86_64 openvino_2023.1.0 + move openvino_2023.1.0 "C:\Program Files (x86)\Intel" 4. (Optional) Install *numpy* Python Library: @@ -108,11 +108,11 @@ Step 1: Download and Install OpenVINO Core Components This step is required only when you decide to use Python API. - You can use the ``requirements.txt`` file from the ``C:\Program Files (x86)\Intel\openvino_2023.0.1\python`` folder: + You can use the ``requirements.txt`` file from the ``C:\Program Files (x86)\Intel\openvino_2023.1.0\python`` folder: .. code-block:: sh - cd "C:\Program Files (x86)\Intel\openvino_2023.0.1" + cd "C:\Program Files (x86)\Intel\openvino_2023.1.0" python -m pip install -r .\python\requirements.txt @@ -121,7 +121,7 @@ Step 1: Download and Install OpenVINO Core Components .. code-block:: sh cd C:\Program Files (x86)\Intel - mklink /D openvino_2023 openvino_2023.0.1 + mklink /D openvino_2023 openvino_2023.1.0 .. note:: diff --git a/docs/install_guides/installing-openvino-pip.md b/docs/install_guides/installing-openvino-pip.md index 1cd4548cdf0..01fe7e50d21 100644 --- a/docs/install_guides/installing-openvino-pip.md +++ b/docs/install_guides/installing-openvino-pip.md @@ -13,7 +13,7 @@ * offers the Python API only * does not offer support for GNA and NPU inference - * is dedicated to users of all major OSs: Windows, Linux, macOS + * is dedicated to users of all major OSs: Windows, Linux, macOS and x86_64 / arm64 architectures .. tab-set:: diff --git a/docs/install_guides/installing-openvino-vcpkg.md b/docs/install_guides/installing-openvino-vcpkg.md index 39694079dfb..c0eba8c8894 100644 --- a/docs/install_guides/installing-openvino-vcpkg.md +++ b/docs/install_guides/installing-openvino-vcpkg.md @@ -12,7 +12,7 @@ * offers C/C++ API only * does not offer support for GNA and NPU inference - * is dedicated to users of all major OSs: Windows, Linux, macOS. + * is dedicated to users of all major OSs: Windows, Linux, macOS and x86_64 / arm64 architectures. .. tab-set:: @@ -48,27 +48,35 @@ Installing OpenVINO Runtime vcpkg install openvino - vcpkg also enables you to install only selected components, by specifying them in the command. + vcpkg also enables you to install only selected components, by specifying them in the command. See the list of `available features `__, for example: .. code-block:: sh - vcpkg install openvino[cpu,ir] + vcpkg install 'openvino[core,cpu,ir]' + + vcpkg also provides a way to install OpenVINO for any specific configuration you want via `triplets `, for example to install OpenVINO statically on Windows, use: + + .. code-block:: sh + + vcpkg install openvino:x64-windows-static Note that the vcpkg installation means building all packages and dependencies from source, which means the compiler stage will require additional time to complete the process. -After installation, you can use OpenVINO in your product by running: +After installation, you can use OpenVINO in your product's cmake scripts: .. code-block:: sh - find_package(OpenVINO) + find_package(OpenVINO REQUIRED) + +And running from terminal: .. code-block:: sh - cmake -B [build directory] -S . -DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake - -Congratulations! You've just Installed OpenVINO! For some use cases you may still + cmake -B -S -DCMAKE_TOOLCHAIN_FILE=/scripts/buildsystems/vcpkg.cmake + +Congratulations! You've just Installed and used OpenVINO in your project! For some use cases you may still need to install additional components. Check the :doc:`list of additional configurations ` to see if your case needs any of them. diff --git a/docs/install_guides/installing-openvino-yum.md b/docs/install_guides/installing-openvino-yum.md index 1d7f6228141..0a71adce6b3 100644 --- a/docs/install_guides/installing-openvino-yum.md +++ b/docs/install_guides/installing-openvino-yum.md @@ -13,7 +13,6 @@ * offers C/C++ APIs only * does not offer support for GNA and NPU inference * additionally includes code samples - * is dedicated to Linux users. .. tab-set:: @@ -115,7 +114,7 @@ Install OpenVINO Runtime .. code-block:: sh - sudo yum install openvino-2023.0.0 + sudo yum install openvino-2023.1.0 @@ -186,7 +185,7 @@ To uninstall OpenVINO Runtime via YUM, run the following command based on your n .. code-block:: sh - sudo yum autoremove openvino-2023.0.0 + sudo yum autoremove openvino-2023.1.0 diff --git a/docs/snippets/export_compiled_model.cpp b/docs/snippets/export_compiled_model.cpp index 912e752478d..02b83d6b5ec 100644 --- a/docs/snippets/export_compiled_model.cpp +++ b/docs/snippets/export_compiled_model.cpp @@ -1,17 +1,13 @@ - +#include #include int main() { //! [export_compiled_model] ov::Core core; - -std::stringstream stream; - ov::CompiledModel model = core.compile_model("modelPath", "deviceName"); - +std::fstream stream("compiled_model.blob"); model.export_model(stream); - //! [export_compiled_model] return 0;