From 7db9181659d60578bd5a29ae0d918671b1b3adb8 Mon Sep 17 00:00:00 2001 From: eaidova Date: Wed, 24 Jan 2024 21:56:09 +0400 Subject: [PATCH 1/2] update some notebooks requirements --- notebooks/272-paint-by-example/272-paint-by-example.ipynb | 2 +- .../273-stable-zephyr-3b-chatbot.ipynb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/notebooks/272-paint-by-example/272-paint-by-example.ipynb b/notebooks/272-paint-by-example/272-paint-by-example.ipynb index ca391d0dde0..615ae048004 100644 --- a/notebooks/272-paint-by-example/272-paint-by-example.ipynb +++ b/notebooks/272-paint-by-example/272-paint-by-example.ipynb @@ -66,7 +66,7 @@ "source": [ "%pip install -q \"gradio>=4.10.0\"\n", "%pip install -q torch torchvision --extra-index-url \"https://download.pytorch.org/whl/cpu\"\n", - "%pip install -q \"diffusers>=-1.14.0\" \"openvino>=2023.2.0\" \"transformers>=4.25.1\" ipywidgets opencv_python" + "%pip install -q \"diffusers>=0.25.0\" \"openvino>=2023.2.0\" \"transformers>=4.25.1\" ipywidgets opencv_python" ] }, { diff --git a/notebooks/273-stable-zephyr-3b-chatbot/273-stable-zephyr-3b-chatbot.ipynb b/notebooks/273-stable-zephyr-3b-chatbot/273-stable-zephyr-3b-chatbot.ipynb index 42203f1600c..4159d844909 100644 --- a/notebooks/273-stable-zephyr-3b-chatbot/273-stable-zephyr-3b-chatbot.ipynb +++ b/notebooks/273-stable-zephyr-3b-chatbot/273-stable-zephyr-3b-chatbot.ipynb @@ -64,6 +64,7 @@ } ], "source": [ + "%pip install -q \"transformers>=4.36.0\"\n", "%pip install -q --extra-index-url https://download.pytorch.org/whl/cpu -r ./openvino.genai/llm_bench/python/requirements.txt\n", "%pip uninstall -q -y openvino openvino-dev openvino-nightly\n", "%pip install -q openvino-nightly\n", From a8dbc5781c82d4e0ba363916c755650714f17048 Mon Sep 17 00:00:00 2001 From: Ekaterina Aidova Date: Wed, 24 Jan 2024 21:59:36 +0400 Subject: [PATCH 2/2] Update 272-paint-by-example.ipynb --- notebooks/272-paint-by-example/272-paint-by-example.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/272-paint-by-example/272-paint-by-example.ipynb b/notebooks/272-paint-by-example/272-paint-by-example.ipynb index 615ae048004..cd469793b3d 100644 --- a/notebooks/272-paint-by-example/272-paint-by-example.ipynb +++ b/notebooks/272-paint-by-example/272-paint-by-example.ipynb @@ -66,7 +66,7 @@ "source": [ "%pip install -q \"gradio>=4.10.0\"\n", "%pip install -q torch torchvision --extra-index-url \"https://download.pytorch.org/whl/cpu\"\n", - "%pip install -q \"diffusers>=0.25.0\" \"openvino>=2023.2.0\" \"transformers>=4.25.1\" ipywidgets opencv_python" + "%pip install -q \"diffusers>=0.25.0\" \"peft<=0.6.2\" \"openvino>=2023.2.0\" \"transformers>=4.25.1\" ipywidgets opencv_python" ] }, {