From e29c8650161504d10563f450f07820723b7c394a Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 12 Apr 2026 18:48:14 +0200 Subject: [PATCH] fix(ocr): upgrade kraken to 6.0.3 for torch>=2.4 compatibility kraken 5.2.9 required torch~=2.1.0, incompatible with surya-ocr's torch>=2.3.0. kraken 6.0.3 requires torch>=2.4.0,<=2.9 which overlaps with surya and our pinned torch==2.5.1. Co-Authored-By: Claude Sonnet 4.6 --- ocr-service/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocr-service/requirements.txt b/ocr-service/requirements.txt index d0d141bc..130c76ef 100644 --- a/ocr-service/requirements.txt +++ b/ocr-service/requirements.txt @@ -1,6 +1,6 @@ fastapi[standard]==0.115.6 surya-ocr==0.6.3 -kraken==5.2.9 +kraken==6.0.3 pillow>=10.2.0,<11.0.0 pypdfium2==4.30.0 httpx==0.28.1