Skip to content

Commit 57854dc

Browse files
authored
remove ov dev install in workflow files (#2560)
1 parent 9af6200 commit 57854dc

File tree

8 files changed

+14
-35
lines changed

8 files changed

+14
-35
lines changed

.github/workflows/build_treon_reusable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ jobs:
180180
run: |
181181
python -m pip install --upgrade pip
182182
mkdir pipcache
183-
python -m pip install --cache-dir pipcache --no-deps openvino openvino-dev nncf
183+
python -m pip install --cache-dir pipcache --no-deps openvino nncf
184184
cp -r pipcache pipcache_openvino
185-
# python -m pip uninstall -y openvino openvino-dev nncf
185+
# python -m pip uninstall -y openvino nncf
186186
187187
# Download a small dataset to use for testing purposes in monai-kidney training notebook
188188
- name: Download CT files

.github/workflows/codecheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ jobs:
5959
run: |
6060
python -m pip install --upgrade pip
6161
mkdir pipcache
62-
python -m pip install --cache-dir pipcache --no-deps openvino openvino-dev nncf
62+
python -m pip install --cache-dir pipcache --no-deps openvino nncf
6363
cp -r pipcache pipcache_openvino
64-
python -m pip uninstall -y openvino openvino-dev nncf
64+
python -m pip uninstall -y openvino nncf
6565
- name: Install dependencies
6666
run: |
6767
python -m pip install --upgrade pip

.github/workflows/convert_notebooks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ jobs:
133133
run: |
134134
python -m pip install --upgrade pip==21.3.*
135135
mkdir pipcache
136-
python -m pip install --cache-dir pipcache --no-deps openvino openvino-dev nncf
136+
python -m pip install --cache-dir pipcache --no-deps openvino nncf
137137
cp -r pipcache pipcache_openvino
138-
python -m pip uninstall -y openvino openvino-dev nncf
138+
python -m pip uninstall -y openvino nncf
139139
140140
# Download a small dataset to use for testing purposes in monai-kidney training notebook
141141
- name: Download CT files

.github/workflows/install_requirements.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ jobs:
4545
run: |
4646
python -m pip install --upgrade pip
4747
mkdir pipcache
48-
python -m pip install --cache-dir pipcache --no-deps openvino openvino-dev nncf
48+
python -m pip install --cache-dir pipcache --no-deps openvino nncf
4949
cp -r pipcache pipcache_openvino
50-
python -m pip uninstall -y openvino openvino-dev nncf
50+
python -m pip uninstall -y openvino nncf
5151
- name: Install dependencies
5252
run: |
5353
python -m pip install --upgrade pip

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ cache_openvino_packages:
99
@echo Cache openvino packages
1010
@. $(ACTIVATE); python -m pip install --upgrade pip
1111
mkdir pipcache
12-
@. $(ACTIVATE); python -m pip install --cache-dir pipcache --no-deps openvino openvino-dev nncf
12+
@. $(ACTIVATE); python -m pip install --cache-dir pipcache --no-deps openvino nncf
1313
cp -r pipcache pipcache_openvino
14-
@. $(ACTIVATE); python -m pip uninstall -y openvino openvino-dev nncf
14+
@. $(ACTIVATE); python -m pip uninstall -y openvino nncf
1515

1616
install_dependencies:
1717
@echo Installing dependencies

check_install.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ def kernel_check():
8282
OPENVINO_IMPORT = False
8383

8484

85-
DEVTOOLS_INSTALLED = True
86-
try:
87-
from openvino.tools.mo import mo # OpenVINO 2022.1
88-
except ImportError:
89-
DEVTOOLS_INSTALLED = False
90-
9185

9286
print("System information:")
9387
print(f"Python executable: {PYTHON_EXECUTABLE}")
@@ -103,7 +97,6 @@ def kernel_check():
10397
print(f"Python version: {PYTHON_VERSION.major}.{PYTHON_VERSION.minor} " f"{show_supported(SUPPORTED_PYTHON_VERSION)}")
10498
print(f"OpenVINO pip package installed: {show_supported(PIP_OPENVINO_INSTALLED)}")
10599
print(f"OpenVINO import succeeds: {show_supported(OPENVINO_IMPORT)}")
106-
print(f"OpenVINO development tools installed: {show_supported(DEVTOOLS_INSTALLED)}")
107100
print(f"OpenVINO not installed globally: {show_supported(not GLOBAL_OPENVINO_INSTALLED)}")
108101

109102
print(f"No broken requirements: {show_supported(NO_BROKEN_REQUIREMENTS)}")
@@ -185,7 +178,7 @@ def kernel_check():
185178
if not DEVTOOLS_INSTALLED:
186179
print()
187180
print(
188-
"OpenVINO development tools are not installed in this Python environment. \n" "Please follow the instructions in the README to install `openvino-dev`\n"
181+
"OpenVINO development tools are not installed in this Python environment. \n" "Please follow the instructions in the README to install `openvino`\n"
189182
)
190183

191184
if not NO_BROKEN_REQUIREMENTS:
@@ -198,7 +191,6 @@ def kernel_check():
198191
IN_OPENVINO_ENV
199192
and PIP_OPENVINO_INSTALLED
200193
and OPENVINO_IMPORT
201-
and DEVTOOLS_INSTALLED
202194
and SUPPORTED_PYTHON_VERSION
203195
and KERNEL_INSTALLED
204196
and CORRECT_KERNEL_PYTHON

notebooks/cross-lingual-books-alignment/cross-lingual-books-alignment.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"\n",
2828
"- `requests` - for getting books\n",
2929
"- `pysbd` - for splitting sentences\n",
30-
"- `transformers[torch]` and `openvino_dev` - for getting sentence embeddings\n",
30+
"- `transformers[torch]` and `openvino` - for getting sentence embeddings\n",
3131
"- `seaborn` - for alignment matrix visualization\n",
3232
"- `ipywidgets` - for displaying HTML and JS output in the notebook \n",
3333
"\n",

notebooks/yolov10-optimization/yolov10-optimization.ipynb

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -72,25 +72,12 @@
7272
},
7373
{
7474
"cell_type": "code",
75-
"execution_count": 1,
75+
"execution_count": null,
7676
"id": "bf76580b-860a-4dcd-8b01-f494cdffe37e",
7777
"metadata": {
7878
"tags": []
7979
},
80-
"outputs": [
81-
{
82-
"name": "stdout",
83-
"output_type": "stream",
84-
"text": [
85-
"\u001b[33mWARNING: Skipping openvino as it is not installed.\u001b[0m\u001b[33m\n",
86-
"\u001b[0m\u001b[33mWARNING: Skipping openvino-dev as it is not installed.\u001b[0m\u001b[33m\n",
87-
"\u001b[0mNote: you may need to restart the kernel to use updated packages.\n",
88-
"Note: you may need to restart the kernel to use updated packages.\n",
89-
"Note: you may need to restart the kernel to use updated packages.\n",
90-
"Note: you may need to restart the kernel to use updated packages.\n"
91-
]
92-
}
93-
],
80+
"outputs": [],
9481
"source": [
9582
"import os\n",
9683
"\n",

0 commit comments

Comments
 (0)