Skip to content

Commit 2048f63

Browse files
Merge branch 'latest' into add-biological-texture-lcm
2 parents af9c948 + 7bcffc4 commit 2048f63

10 files changed

Lines changed: 50 additions & 7 deletions

File tree

.ci/validate_notebooks.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,16 @@ def get_ignored_notebooks_from_yaml(validation_config: ValidationConfig, skip_co
147147
return list(set(ignored_notebooks))
148148

149149

150+
def get_existing_tests(test_list_to_check: list, test_plan: TestPlan) -> TestPlan:
151+
existing_tests: Path = []
152+
for test in test_list_to_check:
153+
if test in test_plan:
154+
existing_tests.append(test)
155+
else:
156+
print(f"WARNING: Notebook '{test}' is not found in notebooks directory '{str(ROOT / NOTEBOOKS_DIR)}'.")
157+
return existing_tests
158+
159+
150160
def prepare_test_plan(
151161
validation_config: ValidationConfig, test_list: Optional[list[str]], ignore_config: str, ignore_list: Optional[list[str]], nb_dir: Optional[Path] = None
152162
) -> TestPlan:
@@ -173,6 +183,8 @@ def prepare_test_plan(
173183
raise ValueError(
174184
f"Ignore list items should be relative to repo root (e.g. 'notebooks/subdir/notebook.ipynb').\nInvalid ignored notebooks: {ignored_notebooks}"
175185
)
186+
187+
ignored_notebooks = get_existing_tests(ignored_notebooks, test_plan)
176188
ignored_notebooks = sorted(ignored_notebooks)
177189
print(f"Ignored notebooks: {ignored_notebooks}")
178190

@@ -219,6 +231,8 @@ def prepare_test_plan(
219231
" 3. Empty to test all notebooks.\n"
220232
f"Received test list: {test_list}"
221233
)
234+
235+
testing_notebooks = get_existing_tests(testing_notebooks, test_plan)
222236
testing_notebooks = sorted(list(set(testing_notebooks)))
223237
print(f"Testing notebooks: {testing_notebooks}")
224238

@@ -227,6 +241,7 @@ def prepare_test_plan(
227241
test_plan[notebook]["status"] = NotebookStatus.SKIPPED
228242
if notebook in ignored_notebooks:
229243
test_plan[notebook]["status"] = NotebookStatus.SKIPPED
244+
230245
return test_plan
231246

232247

.docker/Pipfile.lock

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

notebooks/flux.1-kontext/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,8 @@ This is a self-contained example that relies solely on its own code.</br>
2828
We recommend running the notebook in a virtual environment. You only need a Jupyter server to start.
2929
For further details, please refer to [Installation Guide](../../README.md).
3030

31+
⚠️ **EXPERIMENTAL NOTEBOOK**
32+
33+
This notebook demonstrates a model that has not been fully validated with OpenVINO and is using a custom branch of optimum-intel. It may be fully supported and validated in the future.
34+
3135
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/flux.1-kontext/README.md" />

notebooks/flux.1-kontext/flux.1-kontext.ipynb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
"We recommend running the notebook in a virtual environment. You only need a Jupyter server to start.\n",
3737
"For details, please refer to [Installation Guide](https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/README.md#-installation-guide).\n",
3838
"\n",
39+
"⚠️ **EXPERIMENTAL NOTEBOOK**\n",
40+
"\n",
41+
"This notebook demonstrates a model that has not been fully validated with OpenVINO and is using a custom branch of optimum-intel. It may be fully supported and validated in the future.\n",
42+
"\n",
3943
"<img referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/flux.1-kontext/flux.1-kontext.ipynb\" />\n"
4044
]
4145
},

notebooks/glm4.1-v-thinking/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,9 @@ In this demonstration, you'll create interactive chatbot that can answer questio
2323
This is a self-contained example that relies solely on its own code.</br>
2424
We recommend running the notebook in a virtual environment. You only need a Jupyter server to start.
2525
For details, please refer to [Installation Guide](../../README.md).
26+
27+
⚠️ **EXPERIMENTAL NOTEBOOK**
28+
29+
This notebook demonstrates a model that has not been fully validated with OpenVINO and is using a custom branch of optimum-intel. It may be fully supported and validated in the future.
30+
2631
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/glm4.1-v-thinking/README.md" />

notebooks/glm4.1-v-thinking/glm4.1-v-thinking.ipynb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
"We recommend running the notebook in a virtual environment. You only need a Jupyter server to start.\n",
3232
"For details, please refer to [Installation Guide](https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/README.md#-installation-guide).\n",
3333
"\n",
34+
"⚠️ **EXPERIMENTAL NOTEBOOK**\n",
35+
"\n",
36+
"This notebook demonstrates a model that has not been fully validated with OpenVINO and is using a custom branch of optimum-intel. It may be fully supported and validated in the future.\n",
37+
"\n",
3438
"<img referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/glm4.1-v-thinking/glm4.1-v-thinking.ipynb\" />\n"
3539
]
3640
},

notebooks/qwen-image/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,9 @@ The tutorial consists of the following steps:
2828
This is a self-contained example that relies solely on its own code.</br>
2929
We recommend running the notebook in a virtual environment. You only need a Jupyter server to start.
3030
For further details, please refer to [Installation Guide](../../README.md).
31+
32+
⚠️ **EXPERIMENTAL NOTEBOOK**
33+
34+
This notebook demonstrates a model that has not been fully validated with OpenVINO and is using a custom branch of optimum-intel. It may be fully supported and validated in the future.
35+
3136
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/qwen-image/README.md" />

notebooks/qwen-image/qwen-image.ipynb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"We recommend running the notebook in a virtual environment. You only need a Jupyter server to start.\n",
3737
"For details, please refer to [Installation Guide](https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/README.md#-installation-guide).\n",
3838
"\n",
39+
"⚠️ **EXPERIMENTAL NOTEBOOK**\n",
40+
"\n",
41+
"This notebook demonstrates a model that has not been fully validated with OpenVINO and is using a custom branch of optimum-intel. It may be fully supported and validated in the future.\n",
3942
"\n",
4043
"<img referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/qwen-image/qwen-image.ipynb\" />\n"
4144
]

notebooks/qwen3-vl/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,8 @@ This is a self-contained example that relies solely on its own code.</br>
6262
We recommend running the notebook in a virtual environment. You only need a Jupyter server to start.
6363
For details, please refer to [Installation Guide](../../README.md).
6464

65+
⚠️ **EXPERIMENTAL NOTEBOOK**
66+
67+
This notebook demonstrates a model that has not been fully validated with OpenVINO and is using a custom branch of optimum-intel. It may be fully supported and validated in the future.
68+
6569
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/qwen3-vl/README.md" />

notebooks/qwen3-vl/qwen3-vl.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,9 @@
7070
"We recommend running the notebook in a virtual environment. You only need a Jupyter server to start.\n",
7171
"For details, please refer to [Installation Guide](https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/README.md#-installation-guide).\n",
7272
"\n",
73-
"<img referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/qwen2.5-vl/qwen2.5-vl.ipynb\" />\n",
74-
"\n",
75-
"\n",
76-
"<img referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks\\qwen3-vl\\qwen3-vl.ipynb\" />\n",
73+
"⚠️ **EXPERIMENTAL NOTEBOOK**\n",
7774
"\n",
75+
"This notebook demonstrates a model that has not been fully validated with OpenVINO and is using a custom branch of optimum-intel. It may be fully supported and validated in the future.\n",
7876
"\n",
7977
"<img referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=5b5a4db0-7875-4bfb-bdbd-01698b5b1a77&file=notebooks/qwen3-vl/qwen3-vl.ipynb\" />\n"
8078
]

0 commit comments

Comments
 (0)