From bebe9a752f66d2633ac63e5cef3c24fb1ba8b3db Mon Sep 17 00:00:00 2001 From: Ben Browning Date: Fri, 8 Nov 2024 11:38:39 -0500 Subject: [PATCH] Bump docling to 2.4.2 for Mac easyocr bugfix The pdf chunking functional tests exposed a bug on Macs with MPS-enabled Torch distributions where easyocr was crashing. The newer docling version uses CPU-only (instead of MPS) when running on Macs to avoid this. Signed-off-by: Ben Browning --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 6222b1f8..7183da22 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ # SPDX-License-Identifier: Apache-2.0 click>=8.1.7,<9.0.0 datasets>=2.18.0,<3.0.0 -docling>=2.3.0,<3.0.0 +docling>=2.4.2,<3.0.0 GitPython>=3.1.42,<4.0.0 httpx>=0.25.0,<1.0.0 instructlab-schema>=0.4.0