diff --git a/README.md b/README.md index 1f2f83dbf10..2058bc4a494 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ OpenVINO Notebooks require Python and Git. To get started, select the guide for 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! -**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). +**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). If you need help, please start a GitHub [Discussion](https://github.com/openvinotoolkit/openvino_notebooks/discussions). diff --git a/README_cn.md b/README_cn.md index f8afbc4b84d..2702ef54d54 100644 --- a/README_cn.md +++ b/README_cn.md @@ -48,7 +48,7 @@ OpenVINO™ Notebooks需要预装Python和Git, 针对不同操作系统的安 使用这个 [页面](https://openvinotoolkit.github.io/openvino_notebooks/)来探索notebooks, 选择一个跟你需求相关的开始试试吧。祝你好运! -**注意: 这个仓库的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)。 +**注意: 这个仓库的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)。 如果您有任何问题,可以开启一个 GitHub [讨论](https://github.com/openvinotoolkit/openvino_notebooks/discussions)。 diff --git a/notebooks/florence2/florence2.ipynb b/notebooks/florence2/florence2.ipynb index 909ac4df6ad..c6f66dc3367 100644 --- a/notebooks/florence2/florence2.ipynb +++ b/notebooks/florence2/florence2.ipynb @@ -51,7 +51,7 @@ "outputs": [], "source": [ "%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", - "%pip install -q -U --pre \"openvino>=2024.6\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/pre-release" + "%pip install -q -U --pre \"openvino>=2025.0\"" ] }, { @@ -485,68 +485,7 @@ }, "widgets": { "application/vnd.jupyter.widget-state+json": { - "state": { - "23f65148d7dd4b48a2c89e24cc0fef1b": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "DescriptionStyleModel", - "state": { - "description_width": "" - } - }, - "3721d73107cb47ca83d41c422073bce9": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "DropdownModel", - "state": { - "_options_labels": [ - "CPU", - "AUTO" - ], - "description": "Device:", - "index": 1, - "layout": "IPY_MODEL_f61341b8d37a4ea0bab11412caa7c74a", - "style": "IPY_MODEL_23f65148d7dd4b48a2c89e24cc0fef1b" - } - }, - "49cf058cb3374f4db215e3caa066673b": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "DropdownModel", - "state": { - "_options_labels": [ - "microsoft/Florence-2-base-ft", - "microsoft/Florence-2-base", - "microsoft/Florence-2-large-ft", - "microsoft/Florence-2-large" - ], - "description": "Model:", - "index": 0, - "layout": "IPY_MODEL_a266df3f4f88408ca369ae236de7eba7", - "style": "IPY_MODEL_8b046d9de3a24704a6326844dc513976" - } - }, - "8b046d9de3a24704a6326844dc513976": { - "model_module": "@jupyter-widgets/controls", - "model_module_version": "2.0.0", - "model_name": "DescriptionStyleModel", - "state": { - "description_width": "" - } - }, - "a266df3f4f88408ca369ae236de7eba7": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": {} - }, - "f61341b8d37a4ea0bab11412caa7c74a": { - "model_module": "@jupyter-widgets/base", - "model_module_version": "2.0.0", - "model_name": "LayoutModel", - "state": {} - } - }, + "state": {}, "version_major": 2, "version_minor": 0 } diff --git a/notebooks/image-to-image-genai/image-to-image-genai.ipynb b/notebooks/image-to-image-genai/image-to-image-genai.ipynb index 4c6f4f7a453..b99ab31499f 100644 --- a/notebooks/image-to-image-genai/image-to-image-genai.ipynb +++ b/notebooks/image-to-image-genai/image-to-image-genai.ipynb @@ -74,7 +74,7 @@ "\n", "\n", "%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n", - "%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", + "%pip install -q -U \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"\n", "%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", "if platform.system() == \"Darwin\":\n", " %pip install -q \"numpy<2.0.0\"\n", diff --git a/notebooks/inpainting-genai/inpainting-genai.ipynb b/notebooks/inpainting-genai/inpainting-genai.ipynb index cebd50bbdbd..9c47136ab07 100644 --- a/notebooks/inpainting-genai/inpainting-genai.ipynb +++ b/notebooks/inpainting-genai/inpainting-genai.ipynb @@ -67,7 +67,7 @@ "from pathlib import Path\n", "\n", "%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n", - "%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", + "%pip install -q -U \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"\n", "%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", "\n", "if platform.system() == \"Darwin\":\n", diff --git a/notebooks/janus-multimodal-generation/janus-multimodal-generation.ipynb b/notebooks/janus-multimodal-generation/janus-multimodal-generation.ipynb index 50101147a4f..ebed2acb4a6 100644 --- a/notebooks/janus-multimodal-generation/janus-multimodal-generation.ipynb +++ b/notebooks/janus-multimodal-generation/janus-multimodal-generation.ipynb @@ -89,7 +89,7 @@ "\n", "%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", "%pip install -q \"git+https://github.com/deepseek-ai/Janus\" --extra-index-url https://download.pytorch.org/whl/cpu\n", - "%pip install -U --pre \"openvino>2024.5\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly\n", + "%pip install -U \"openvino>=2025\"\n", "\n", "if platform.system() == \"Darwin\":\n", " %pip install -q \"numpy<2.0.0\"\n", diff --git a/notebooks/latent-consistency-models-image-generation/latent-consistency-models-image-generation.ipynb b/notebooks/latent-consistency-models-image-generation/latent-consistency-models-image-generation.ipynb index bbd22e63d9a..fa12e7981bc 100644 --- a/notebooks/latent-consistency-models-image-generation/latent-consistency-models-image-generation.ipynb +++ b/notebooks/latent-consistency-models-image-generation/latent-consistency-models-image-generation.ipynb @@ -61,8 +61,8 @@ "source": [ "%pip install -q \"torch>=2.1\" --index-url https://download.pytorch.org/whl/cpu\n", "%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", - "%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\"\n", - "%pip install -qU --pre \"openvino>=2024.4.0\" \"openvino-tokenizers\" \"openvino-genai\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly" + "%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n", + "%pip install -qU \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"" ] }, { diff --git a/notebooks/omniparser/omniparser.ipynb b/notebooks/omniparser/omniparser.ipynb index 4bd021bf3e3..37a686384b5 100644 --- a/notebooks/omniparser/omniparser.ipynb +++ b/notebooks/omniparser/omniparser.ipynb @@ -134,7 +134,7 @@ ")\n", "pip_install(\"--no-deps\", \"supervision==0.18.0\")\n", "pip_install(\"--no-deps\", \"easyocr\", \"--extra-index-url\", \"https://download.pytorch.org/whl/cpu\")\n", - "pip_install(\"-U\", \"--pre\", \"--extra-index-url\", \"https://storage.openvinotoolkit.org/simple/wheels/pre-release\", \"openvino>=2024.6.0\")\n", + "pip_install(\"-U\", \"openvino>=2025.0.0\")\n", "\n", "if platform.system() == \"Darwin\":\n", " pip_install(\"numpy<2.0\")" diff --git a/notebooks/phi-3-vision/phi-3-vision.ipynb b/notebooks/phi-3-vision/phi-3-vision.ipynb index 9d35bfc6db2..08b94942c8e 100644 --- a/notebooks/phi-3-vision/phi-3-vision.ipynb +++ b/notebooks/phi-3-vision/phi-3-vision.ipynb @@ -54,7 +54,7 @@ "import platform\n", "\n", "%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", - "%pip install --pre -qU \"openvino>=2024.6.0\" \"openvino-tokenizers>=2024.6.0\" --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly\n", + "%pip install -qU \"openvino>=2025.0.0\" \"openvino-tokenizers>=2025.0.0\"\n", "%pip install -q -U \"nncf>=2.14.0\"\n", "%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n", "\n", diff --git a/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb b/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb index 28db75f4c52..16e47ab1f69 100644 --- a/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb +++ b/notebooks/s3d-mil-nce-text-to-video-retrieval/s3d-mil-nce-text-to-video-retrieval.ipynb @@ -53,7 +53,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install --upgrade --pre openvino-tokenizers \"openvino>=2024.2.0\" --extra-index-url \"https://storage.openvinotoolkit.org/simple/wheels/nightly\"\n", + "%pip install --upgrade openvino-tokenizers \"openvino>=2025.0.0\"\n", "%pip install -q \"tensorflow-macos>=2.5; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version > '3.8'\" # macOS M1 and M2\n", "%pip install -q \"tensorflow>=2.5; sys_platform == 'darwin' and platform_machine != 'arm64' and python_version > '3.8'\" # macOS x86\n", "%pip install -q \"tensorflow>=2.5; sys_platform != 'darwin' and python_version > '3.8'\"\n", diff --git a/notebooks/sdxl-turbo/sdxl-turbo.ipynb b/notebooks/sdxl-turbo/sdxl-turbo.ipynb index d2528b415dc..40785d45845 100644 --- a/notebooks/sdxl-turbo/sdxl-turbo.ipynb +++ b/notebooks/sdxl-turbo/sdxl-turbo.ipynb @@ -57,7 +57,7 @@ "metadata": {}, "outputs": [], "source": [ - "%pip install -q -U --pre --extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly \"openvino>=2024.5\" \"openvino-genai>=2024.5\"\n", + "%pip install -q -U \"openvino>=2025.0\" \"openvino-genai>=2025.0\"\n", "%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\"" ] }, @@ -454,6 +454,7 @@ ] }, { + "attachments": {}, "cell_type": "markdown", "id": "fc9c2be2-8209-4dc7-8d64-ddd229ceab51", "metadata": {}, diff --git a/notebooks/text-to-image-genai/text-to-image-genai.ipynb b/notebooks/text-to-image-genai/text-to-image-genai.ipynb index 65aea389727..50511424173 100644 --- a/notebooks/text-to-image-genai/text-to-image-genai.ipynb +++ b/notebooks/text-to-image-genai/text-to-image-genai.ipynb @@ -65,7 +65,7 @@ "\n", "%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\"\n", "\n", - "%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", + "%pip install -q -U \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"\n", "%pip install -q -U \"transformers>=4.45\" --extra-index-url https://download.pytorch.org/whl/cpu\n", "%pip install -q Pillow \"diffusers>=0.30.3\" \"gradio>=4.19\" \"typing_extensions>=4.9\" \"tqdm\"\n", "if platform.system() == \"Darwin\":\n", diff --git a/notebooks/whisper-asr-genai/whisper-asr-genai.ipynb b/notebooks/whisper-asr-genai/whisper-asr-genai.ipynb index 43ee8ae76f6..fb1e870681e 100644 --- a/notebooks/whisper-asr-genai/whisper-asr-genai.ipynb +++ b/notebooks/whisper-asr-genai/whisper-asr-genai.ipynb @@ -77,7 +77,7 @@ "%pip install -q \"torch>=2.3\" \"torchvision>=0.18.1\" --extra-index-url https://download.pytorch.org/whl/cpu\n", "%pip install -q -U \"transformers>=4.45\" --extra-index-url https://download.pytorch.org/whl/cpu\n", "%pip install -q \"git+https://github.com/huggingface/optimum-intel.git\" --extra-index-url https://download.pytorch.org/whl/cpu\n", - "%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", + "%pip install -q -U \"openvino>=2025.0\" \"openvino-tokenizers>=2025.0\" \"openvino-genai>=2025.0\"\n", "%pip install -q datasets \"gradio>=4.0\" \"soundfile>=0.12\" \"librosa\" \"python-ffmpeg<=1.0.16\"\n", "%pip install -q \"nncf>=2.14.0\" \"jiwer\" \"typing_extensions>=4.9\"\n", "if platform.system() == \"Darwin\":\n",