Skip to content

Commit 7609a71

Browse files
authored
update for 2025.0 (#2724)
1 parent e3bb88c commit 7609a71

File tree

13 files changed

+16
-76
lines changed

13 files changed

+16
-76
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ OpenVINO Notebooks require Python and Git. To get started, select the guide for
5252

5353
Explore Jupyter notebooks using this [page](https://openvinotoolkit.github.io/openvino_notebooks/), select one related to your needs or give them all a try. Good Luck!
5454

55-
**NOTE: The main branch of this repository was updated to support the new OpenVINO 2024.5 release.** To upgrade to the new release version, please run `pip install --upgrade -r requirements.txt` in your `openvino_env` virtual environment. If you need to install for the first time, see the [Installation Guide](#-installation-guide) section below. If you wish to use the previous release version of OpenVINO, please checkout the [2024.4 branch](https://github.com/openvinotoolkit/openvino_notebooks/tree/2024.4). If you wish to use the previous Long Term Support (LTS) version of OpenVINO check out the [2023.3 branch](https://github.com/openvinotoolkit/openvino_notebooks/tree/2023.3).
55+
**NOTE: The main branch of this repository was updated to support the new OpenVINO 2025.0 release.** To upgrade to the new release version, please run `pip install --upgrade -r requirements.txt` in your `openvino_env` virtual environment. If you need to install for the first time, see the [Installation Guide](#-installation-guide) section below. If you wish to use the previous release version of OpenVINO, please checkout the [2024.6 branch](https://github.com/openvinotoolkit/openvino_notebooks/tree/2024.5). If you wish to use the previous Long Term Support (LTS) version of OpenVINO check out the [2023.3 branch](https://github.com/openvinotoolkit/openvino_notebooks/tree/2023.3).
5656

5757
If you need help, please start a GitHub [Discussion](https://github.com/openvinotoolkit/openvino_notebooks/discussions).
5858

README_cn.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ OpenVINO™ Notebooks需要预装Python和Git, 针对不同操作系统的安
4848

4949
使用这个 [页面](https://openvinotoolkit.github.io/openvino_notebooks/)来探索notebooks, 选择一个跟你需求相关的开始试试吧。祝你好运!
5050

51-
**注意: 这个仓库的main分支已经升级了对于OpenVINO 2024.3 release的支持.** 请运行在你的 `openvino_env`虚拟环境中,运行 `pip install --upgrade -r requirements.txt` 升级到最新版本. 如果这是您第一次安装OpenVINO™ Notebooks,请参考以下的 [安装指南](#-installation-guide)。 如果您想使用上一个OpenVINO版本, 请切换至[2023.3 分支](https://github.com/openvinotoolkit/openvino_notebooks/tree/2023.3). 如果您想使用上一个长期维护 (LTS) 的OpenVINO版本,请切换到 [2022.3 分支](https://github.com/openvinotoolkit/openvino_notebooks/tree/2022.3)
51+
**注意: 这个仓库的main分支已经升级了对于OpenVINO 2025.0 release的支持.** 请运行在你的 `openvino_env`虚拟环境中,运行 `pip install --upgrade -r requirements.txt` 升级到最新版本. 如果这是您第一次安装OpenVINO™ Notebooks,请参考以下的 [安装指南](#-installation-guide)。 如果您想使用上一个OpenVINO版本, 请切换至[2023.3 分支](https://github.com/openvinotoolkit/openvino_notebooks/tree/2023.3). 如果您想使用上一个长期维护 (LTS) 的OpenVINO版本,请切换到 [2022.3 分支](https://github.com/openvinotoolkit/openvino_notebooks/tree/2022.3)
5252

5353
如果您有任何问题,可以开启一个 GitHub [讨论](https://github.com/openvinotoolkit/openvino_notebooks/discussions)
5454

notebooks/florence2/florence2.ipynb

+2-63
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"outputs": [],
5252
"source": [
5353
"%pip install -q \"einops\" \"torch>2.1\" \"torchvision\" \"matplotlib>=3.4\" \"timm>=0.9.8\" \"transformers>=4.41\" \"pillow\" \"gradio>=4.19\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
54-
"%pip install -q -U --pre \"openvino>=2024.6\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/pre-release"
54+
"%pip install -q -U --pre \"openvino>=2025.0\""
5555
]
5656
},
5757
{
@@ -485,68 +485,7 @@
485485
},
486486
"widgets": {
487487
"application/vnd.jupyter.widget-state+json": {
488-
"state": {
489-
"23f65148d7dd4b48a2c89e24cc0fef1b": {
490-
"model_module": "@jupyter-widgets/controls",
491-
"model_module_version": "2.0.0",
492-
"model_name": "DescriptionStyleModel",
493-
"state": {
494-
"description_width": ""
495-
}
496-
},
497-
"3721d73107cb47ca83d41c422073bce9": {
498-
"model_module": "@jupyter-widgets/controls",
499-
"model_module_version": "2.0.0",
500-
"model_name": "DropdownModel",
501-
"state": {
502-
"_options_labels": [
503-
"CPU",
504-
"AUTO"
505-
],
506-
"description": "Device:",
507-
"index": 1,
508-
"layout": "IPY_MODEL_f61341b8d37a4ea0bab11412caa7c74a",
509-
"style": "IPY_MODEL_23f65148d7dd4b48a2c89e24cc0fef1b"
510-
}
511-
},
512-
"49cf058cb3374f4db215e3caa066673b": {
513-
"model_module": "@jupyter-widgets/controls",
514-
"model_module_version": "2.0.0",
515-
"model_name": "DropdownModel",
516-
"state": {
517-
"_options_labels": [
518-
"microsoft/Florence-2-base-ft",
519-
"microsoft/Florence-2-base",
520-
"microsoft/Florence-2-large-ft",
521-
"microsoft/Florence-2-large"
522-
],
523-
"description": "Model:",
524-
"index": 0,
525-
"layout": "IPY_MODEL_a266df3f4f88408ca369ae236de7eba7",
526-
"style": "IPY_MODEL_8b046d9de3a24704a6326844dc513976"
527-
}
528-
},
529-
"8b046d9de3a24704a6326844dc513976": {
530-
"model_module": "@jupyter-widgets/controls",
531-
"model_module_version": "2.0.0",
532-
"model_name": "DescriptionStyleModel",
533-
"state": {
534-
"description_width": ""
535-
}
536-
},
537-
"a266df3f4f88408ca369ae236de7eba7": {
538-
"model_module": "@jupyter-widgets/base",
539-
"model_module_version": "2.0.0",
540-
"model_name": "LayoutModel",
541-
"state": {}
542-
},
543-
"f61341b8d37a4ea0bab11412caa7c74a": {
544-
"model_module": "@jupyter-widgets/base",
545-
"model_module_version": "2.0.0",
546-
"model_name": "LayoutModel",
547-
"state": {}
548-
}
549-
},
488+
"state": {},
550489
"version_major": 2,
551490
"version_minor": 0
552491
}

notebooks/image-to-image-genai/image-to-image-genai.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"\n",
7575
"\n",
7676
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
77-
"%pip install -q -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly \"openvino>=2024.5\" \"openvino-tokenizers>=2024.5\" \"openvino-genai>=2024.5\"\n",
77+
"%pip install -q -U \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"\n",
7878
"%pip install -q Pillow \"diffusers>=0.30.3\" \"gradio>=4.19\" \"typing_extensions>=4.9\" \"tqdm\" huggingface-hub \"nncf>=2.14.0\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
7979
"if platform.system() == \"Darwin\":\n",
8080
" %pip install -q \"numpy<2.0.0\"\n",

notebooks/inpainting-genai/inpainting-genai.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"from pathlib import Path\n",
6868
"\n",
6969
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
70-
"%pip install -q -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly \"openvino>=2024.5\" \"openvino-tokenizers>=2024.5\" \"openvino-genai>=2024.5\"\n",
70+
"%pip install -q -U \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"\n",
7171
"%pip install -q Pillow \"diffusers>=0.30.3\" \"gradio>=4.19\" \"typing_extensions>=4.9\" \"tqdm\" huggingface-hub \"nncf>=2.14.0\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
7272
"\n",
7373
"if platform.system() == \"Darwin\":\n",

notebooks/janus-multimodal-generation/janus-multimodal-generation.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"\n",
9090
"%pip install -q \"gradio>=4.19\" \"torch>=2.2\" \"torchvision\" \"safetensors\" \"transformers>=4.45\" \"nncf>=2.14\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
9191
"%pip install -q \"git+https://github.com/deepseek-ai/Janus\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
92-
"%pip install -U --pre \"openvino>2024.5\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly\n",
92+
"%pip install -U \"openvino>=2025\"\n",
9393
"\n",
9494
"if platform.system() == \"Darwin\":\n",
9595
" %pip install -q \"numpy<2.0.0\"\n",

notebooks/latent-consistency-models-image-generation/latent-consistency-models-image-generation.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
"source": [
6262
"%pip install -q \"torch>=2.1\" --index-url https://download.pytorch.org/whl/cpu\n",
6363
"%pip install -q \"transformers>=4.45\" tqdm accelerate \"diffusers>=0.30.1\" pillow \"gradio>=4.19\" \"nncf>=2.12.0\" \"datasets>=2.14.6\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
64-
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\"\n",
65-
"%pip install -qU --pre \"openvino>=2024.4.0\" \"openvino-tokenizers\" \"openvino-genai\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly"
64+
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
65+
"%pip install -qU \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\""
6666
]
6767
},
6868
{

notebooks/omniparser/omniparser.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
")\n",
135135
"pip_install(\"--no-deps\", \"supervision==0.18.0\")\n",
136136
"pip_install(\"--no-deps\", \"easyocr\", \"--extra-index-url\", \"https://download.pytorch.org/whl/cpu\")\n",
137-
"pip_install(\"-U\", \"--pre\", \"--extra-index-url\", \"https://storage.openvinotoolkit.org/simple/wheels/pre-release\", \"openvino>=2024.6.0\")\n",
137+
"pip_install(\"-U\", \"openvino>=2025.0.0\")\n",
138138
"\n",
139139
"if platform.system() == \"Darwin\":\n",
140140
" pip_install(\"numpy<2.0\")"

notebooks/phi-3-vision/phi-3-vision.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"import platform\n",
5555
"\n",
5656
"%pip install -q -U \"torch>=2.1\" \"torchvision\" \"transformers>=4.45\" \"protobuf>=3.20\" \"gradio>=4.26\" \"Pillow\" \"accelerate\" \"tqdm\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
57-
"%pip install --pre -qU \"openvino>=2024.6.0\" \"openvino-tokenizers>=2024.6.0\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly\n",
57+
"%pip install -qU \"openvino>=2025.0.0\" \"openvino-tokenizers>=2025.0.0\"\n",
5858
"%pip install -q -U \"nncf>=2.14.0\"\n",
5959
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
6060
"\n",

notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"metadata": {},
5454
"outputs": [],
5555
"source": [
56-
"%pip install --upgrade --pre openvino-tokenizers \"openvino>=2024.2.0\" --extra-index-url \"https://storage.openvinotoolkit.org/simple/wheels/nightly\"\n",
56+
"%pip install --upgrade openvino-tokenizers \"openvino>=2025.0.0\"\n",
5757
"%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n",
5858
"%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n",
5959
"%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n",

notebooks/sdxl-turbo/sdxl-turbo.ipynb

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"metadata": {},
5858
"outputs": [],
5959
"source": [
60-
"%pip install -q -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly \"openvino>=2024.5\" \"openvino-genai>=2024.5\"\n",
60+
"%pip install -q -U \"openvino>=2025.0\" \"openvino-genai>=2025.0\"\n",
6161
"%pip install -q --extra-index-url https://download.pytorch.org/whl/cpu \"torch>=2.1\" transformers \"diffusers>=0.24.0\" \"git+https://github.com/huggingface/optimum-intel.git\" \"gradio>=4.19\" \"peft>=0.6.2\" \"nncf>=2.14.0\""
6262
]
6363
},
@@ -454,6 +454,7 @@
454454
]
455455
},
456456
{
457+
"attachments": {},
457458
"cell_type": "markdown",
458459
"id": "fc9c2be2-8209-4dc7-8d64-ddd229ceab51",
459460
"metadata": {},

notebooks/text-to-image-genai/text-to-image-genai.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"\n",
6666
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\"\n",
6767
"\n",
68-
"%pip install -q -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly \"openvino>=2024.5\" \"openvino-tokenizers>=2024.5\" \"openvino-genai>=2024.5\"\n",
68+
"%pip install -q -U \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"\n",
6969
"%pip install -q -U \"transformers>=4.45\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
7070
"%pip install -q Pillow \"diffusers>=0.30.3\" \"gradio>=4.19\" \"typing_extensions>=4.9\" \"tqdm\"\n",
7171
"if platform.system() == \"Darwin\":\n",

notebooks/whisper-asr-genai/whisper-asr-genai.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"%pip install -q \"torch>=2.3\" \"torchvision>=0.18.1\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
7878
"%pip install -q -U \"transformers>=4.45\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
7979
"%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n",
80-
"%pip install --pre -q -U \"openvino>=2024.5.0\" \"openvino-tokenizers>=2024.5.0\" \"openvino-genai>=2024.5.0\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly\n",
80+
"%pip install -q -U \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"\n",
8181
"%pip install -q datasets \"gradio>=4.0\" \"soundfile>=0.12\" \"librosa\" \"python-ffmpeg<=1.0.16\"\n",
8282
"%pip install -q \"nncf>=2.14.0\" \"jiwer\" \"typing_extensions>=4.9\"\n",
8383
"if platform.system() == \"Darwin\":\n",

0 commit comments

Comments
 (0)