From fdb63d118d7584020883d7a66a36c90f06398fe7 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Wed, 28 Jan 2026 09:29:30 +0100 Subject: [PATCH 1/2] try pinning transformers<5 in tut 46 --- index.toml | 2 +- tutorials/46_Multimodal_RAG.ipynb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.toml b/index.toml index 6ef57e3..e3996d3 100644 --- a/index.toml +++ b/index.toml @@ -237,7 +237,7 @@ notebook = "46_Multimodal_RAG.ipynb" aliases = [] completion_time = "20 min" created_at = 2025-08-04 -dependencies = ["pillow", "pypdf", "pypdfium2", "sentence-transformers>=4.1.0"] +dependencies = ["pillow", "pypdf", "pypdfium2", "sentence-transformers>=4.1.0", "transformers<5"] featured = true [[tutorial]] diff --git a/tutorials/46_Multimodal_RAG.ipynb b/tutorials/46_Multimodal_RAG.ipynb index 7014554..0242b54 100644 --- a/tutorials/46_Multimodal_RAG.ipynb +++ b/tutorials/46_Multimodal_RAG.ipynb @@ -44,7 +44,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "id": "6e44239d-8a00-4d79-b372-b495c4cdee6e", "metadata": { "id": "6e44239d-8a00-4d79-b372-b495c4cdee6e", @@ -54,7 +54,7 @@ "source": [ "%%bash\n", "\n", - "pip install -q \"haystack-ai>=2.16.0\" pillow pypdf pypdfium2 \"sentence-transformers>=4.1.0\"" + "pip install -q \"haystack-ai>=2.16.0\" pillow pypdf pypdfium2 \"sentence-transformers>=4.1.0\" \"transformers<5\"" ] }, { From 474bfcf5331e1694d1c75a2574b0ba98938fcce1 Mon Sep 17 00:00:00 2001 From: anakin87 Date: Wed, 28 Jan 2026 09:47:42 +0100 Subject: [PATCH 2/2] try reverting pin and see if works --- index.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.toml b/index.toml index e3996d3..6ef57e3 100644 --- a/index.toml +++ b/index.toml @@ -237,7 +237,7 @@ notebook = "46_Multimodal_RAG.ipynb" aliases = [] completion_time = "20 min" created_at = 2025-08-04 -dependencies = ["pillow", "pypdf", "pypdfium2", "sentence-transformers>=4.1.0", "transformers<5"] +dependencies = ["pillow", "pypdf", "pypdfium2", "sentence-transformers>=4.1.0"] featured = true [[tutorial]]