Install macos updates (port from #14656) (#14904)

* Update macOS archive installation with ARM64 for 22/3 (#14656)

* update macos archive installation with arm

* update python version

* fix formatting

* fix formatting

* update

* remove note

* update package names & version number

* update version number
This commit is contained in:
Yuan Xu
2023-01-04 10:27:40 +08:00
committed by GitHub
parent 480d4b16cf
commit de474c16f2

View File

@@ -1,6 +1,6 @@
# Install OpenVINO™ Runtime on macOS from an Archive File {#openvino_docs_install_guides_installing_openvino_from_archive_macos}
With the OpenVINO™ 2022.2 release, you can download and use archive files to install OpenVINO Runtime. The archive files contain pre-built binaries and library files needed for OpenVINO Runtime, as well as code samples.
With the OpenVINO™ 2022.3 release, you can download and use archive files to install OpenVINO Runtime. The archive files contain pre-built binaries and library files needed for OpenVINO Runtime, as well as code samples.
Installing OpenVINO Runtime from archive files is recommended for C++ developers. If you are working with Python, the PyPI package has everything needed for Python development and deployment on CPU and GPUs. Visit the [Install OpenVINO from PyPI](installing-openvino-pip.md) page for instructions on how to install OpenVINO Runtime for Python using PyPI.
@@ -8,15 +8,14 @@ See the [Release Notes](https://software.intel.com/en-us/articles/OpenVINO-RelNo
> **NOTE**: Since the OpenVINO™ 2022.1 release, the following development tools: Model Optimizer, Post-Training Optimization Tool, Model Downloader and other Open Model Zoo tools, Accuracy Checker, and Annotation Converter can be installed via [pypi.org](https://pypi.org/project/openvino-dev/) only.
> **NOTE**: The Intel® Distribution of OpenVINO™ toolkit is supported on macOS version 10.15 with Intel® processor-based machines.
## System Requirements
@sphinxdirective
.. tab:: Operating Systems
macOS 10.15, 11, 12, and 13 versions with the x86 architecture, 64 bits
* macOS 10.15, 11, 12, and 13, x86, 64-bit
* macOS 10.15, 11, 12, and 13, ARM, 64-bit
.. note::
@@ -47,31 +46,54 @@ See the [Release Notes](https://software.intel.com/en-us/articles/OpenVINO-RelNo
### <a name="install-core"></a>Step 1: Install OpenVINO Core Components
@sphinxdirective
1. Open a command prompt terminal window.
2. Create the `/opt/intel` folder for OpenVINO by using the following command. If the folder already exists, skip this command.
```sh
sudo mkdir /opt/intel
```
> **NOTE**: The `/opt/intel` path is the recommended folder path for installing OpenVINO. You may use a different path if desired.
.. code-block:: sh
sudo mkdir /opt/intel
.. note::
The `/opt/intel` path is the recommended folder path for installing OpenVINO. You may use a different path if desired.
3. Browse to the current user's `Downloads` folder:
```sh
cd <user_home>/Downloads
```
.. code-block:: sh
cd <user_home>/Downloads
4. Download the [OpenVINO Runtime archive file for macOS](https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.2/macos/), extract the files, rename the extracted folder and move it to the desired path:
```sh
curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.2/macos/m_openvino_toolkit_osx_2022.2.0.7713.af16ea1d79a_x86_64.tgz --output openvino_2022.2.0.7713.tgz
tar -xf openvino_2022.2.0.7713.tgz
sudo mv m_openvino_toolkit_osx_2022.2.0.7713.af16ea1d79a_x86_64 /opt/intel/openvino_2022.2.0.7713
```
4. Download the `OpenVINO Runtime archive file for macOS <https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3/macos/>`_, extract the files, rename the extracted folder and move it to the desired path:
.. tab:: x86, 64-bit
.. code-block:: sh
curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3/macos/m_openvino_toolkit_macos_10_15_2022.3.0.9052.9752fafe8eb_x86_64.tgz --output openvino_2022.3.0.tgz
tar -xf openvino_2022.3.0.tgz
sudo mv m_openvino_toolkit_macos_10_15_2022.3.0.9052.9752fafe8eb_x86_64 /opt/intel/openvino_2022.3.0
.. tab:: ARM, 64-bit
.. code-block:: sh
curl -L https://storage.openvinotoolkit.org/repositories/openvino/packages/2022.3/macos/m_openvino_toolkit_macos_11_0_2022.3.0.9052.9752fafe8eb_arm64.tgz --output openvino_2022.3.0.tgz
tar -xf openvino_2022.3.0.tgz
sudo mv m_openvino_toolkit_macos_11_0_2022.3.0.9052.9752fafe8eb_arm64 /opt/intel/openvino_2022.3.0
5. For simplicity, it is useful to create a symbolic link as below:
```
sudo ln -s openvino_2022.2.0.7713 openvino_2022
```
> **NOTE**: If you have already installed a previous release of OpenVINO 2022, a symbolic link to the `openvino_2022` folder may already exist. Unlink the previous link with `sudo unlink openvino_2022`, and then re-run the command above.
.. code-block:: sh
sudo ln -s openvino_2022.3.0 openvino_2022
.. note::
If you have already installed a previous release of OpenVINO 2022, a symbolic link to the `openvino_2022` folder may already exist. Unlink the previous link with `sudo unlink openvino_2022`, and then re-run the command above.
@endsphinxdirective
Congratulations, you finished the installation! The `/opt/intel/openvino_2022` folder now contains the core components for OpenVINO. If you used a different path in Step 2, you will find the `openvino_2022` folder there. The path to the `openvino_2022` directory is also referred as `<INSTALL_DIR>` throughout the OpenVINO documentation.
@@ -111,16 +133,16 @@ Now that you've installed OpenVINO Runtime, you're ready to run your own machine
@sphinxdirective
.. tab:: Get started with Python
Try the `Python Quick Start Example <https://docs.openvino.ai/2022.2/notebooks/201-vision-monodepth-with-output.html>`_ to estimate depth in a scene using an OpenVINO monodepth model in a Jupyter Notebook inside your web browser.
Try the `Python Quick Start Example <https://docs.openvino.ai/nightly/notebooks/201-vision-monodepth-with-output.html>`_ to estimate depth in a scene using an OpenVINO monodepth model in a Jupyter Notebook inside your web browser.
.. image:: https://user-images.githubusercontent.com/15709723/127752390-f6aa371f-31b5-4846-84b9-18dd4f662406.gif
:width: 400
Visit the :ref:`Tutorials <notebook tutorials>` page for more Jupyter Notebooks to get you started with OpenVINO, such as:
* `OpenVINO Python API Tutorial <https://docs.openvino.ai/2022.2/notebooks/002-openvino-api-with-output.html>`_
* `Basic image classification program with Hello Image Classification <https://docs.openvino.ai/2022.2/notebooks/001-hello-world-with-output.html>`_
* `Convert a PyTorch model and use it for image background removal <https://docs.openvino.ai/2022.2/notebooks/205-vision-background-removal-with-output.html>`_
* `OpenVINO Python API Tutorial <https://docs.openvino.ai/nightly/notebooks/002-openvino-api-with-output.html>`_
* `Basic image classification program with Hello Image Classification <https://docs.openvino.ai/nightly/notebooks/001-hello-world-with-output.html>`_
* `Convert a PyTorch model and use it for image background removal <https://docs.openvino.ai/nightly/notebooks/205-vision-background-removal-with-output.html>`_
.. tab:: Get started with C++
@@ -136,7 +158,7 @@ Now that you've installed OpenVINO Runtime, you're ready to run your own machine
@endsphinxdirective
## <a name="uninstall"></a>Uninstalling the Intel® Distribution of OpenVINO™ Toolkit
## <a name="uninstall"></a>Uninstalling Intel® Distribution of OpenVINO™ Toolkit
To uninstall the toolkit, follow the steps on the [Uninstalling page](uninstalling-openvino.md).