-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade OpenVINO to 2023.1.0 (#3863)
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,20 +13,20 @@ jobs: | |
- name: Download OpenVINO | ||
run: | | ||
mkdir ov | ||
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/master/2023.1.0.dev20230811/l_openvino_toolkit_ubuntu20_2023.1.0.dev20230811_x86_64.tgz | tar --directory ov --strip-components 1 -xz | ||
curl https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1/linux/l_openvino_toolkit_ubuntu20_2023.1.0.12185.47b736f63ed_x86_64.tgz | tar --directory ov --strip-components 1 -xz | ||
sudo ov/install_dependencies/install_openvino_dependencies.sh | ||
sudo apt install libgtk2.0-dev pkg-config # smart_classroom_demo_gapi's OpenCV error asks to install them | ||
- uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ubuntu20_2023.1.0.dev20230811 # This action prepends and appends its strings to the key | ||
key: ubuntu20_2023.1.0.12185.47b736f63ed # This action prepends and appends its strings to the key | ||
restore: ${{ github.event_name == 'pull_request'}} | ||
- if: ${{ github.event_name == 'pull_request'}} | ||
uses: actions/cache/restore@v3 | ||
id: cache | ||
with: | ||
path: ${{ github.workspace }}/cache | ||
key: unused | ||
restore-keys: ubuntu20_2023.1.0.dev20230811- | ||
restore-keys: ubuntu20_2023.1.0.12185.47b736f63ed- | ||
- if: ${{ !steps.cache.outputs.cache-hit }} | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -50,7 +50,7 @@ jobs: | |
- name: Install OMZ tools | ||
run: | | ||
python -m pip install --cache-dir cache/pip/ --upgrade pip | ||
python -m pip install --cache-dir cache/pip/ --extra-index-url https://download.pytorch.org/whl/cpu openvino==2023.1.0.dev20230811 openvino-dev[onnx,pytorch,tensorflow2]==2023.1.0.dev20230811 tools/model_tools[pytorch,tensorflow2] | ||
python -m pip install --cache-dir cache/pip/ --extra-index-url https://download.pytorch.org/whl/cpu openvino==2023.1.0 openvino-dev[onnx,pytorch,tensorflow2]==2023.1.0 tools/model_tools[pytorch,tensorflow2] | ||
# Reinstall OMZ tools that could come from openvino-dev because pip doesn't promise the order of installation | ||
python -m pip install --no-cache-dir --no-deps tools/model_tools | ||
# Make sure OpenVINO is used from C++ package, not from PyPI | ||
|
@@ -62,4 +62,4 @@ jobs: | |
- uses: actions/cache/save@v3 | ||
with: | ||
path: ${{ github.workspace }}/cache | ||
key: ubuntu20_2023.1.0.dev20230811-${{ github.event.repository.updated_at }} | ||
key: ubuntu20_2023.1.0.12185.47b736f63ed-${{ github.event.repository.updated_at }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
openvino_linux: 'https://storage.openvinotoolkit.org/repositories/openvino/packages/master/2023.1.0.dev20230811/l_openvino_toolkit_ubuntu20_2023.1.0.dev20230811_x86_64.tgz' | ||
openvino_windows: 'https://storage.openvinotoolkit.org/repositories/openvino/packages/master/2023.1.0.dev20230811/w_openvino_toolkit_windows_2023.1.0.dev20230811_x86_64.zip' | ||
wheel_linux: '2023.1.0.dev20230811' | ||
wheel_windows: '2023.1.0.dev20230811' | ||
openvino_linux: 'https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1/linux/l_openvino_toolkit_ubuntu20_2023.1.0.12185.47b736f63ed_x86_64.tgz' | ||
openvino_windows: 'https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.1/windows/w_openvino_toolkit_windows_2023.1.0.12185.47b736f63ed_x86_64.zip' | ||
wheel_linux: '2023.1.0' | ||
wheel_windows: '2023.1.0' |