fix(deps): pin paddlepaddle below 3.3.0 to avoid OCR text corruption

paddlepaddle 3.3.1 silently corrupts non-ASCII (CJK) recognized text
into literal U+FFFD replacement characters during rec postprocessing,
while leaving confidence scores high and ASCII/digit text unaffected.
The same release also breaks CPU oneDNN inference on Windows entirely
(NotImplementedError in onednn_instruction.cc). Verified on a real
task screenshot that downgrading to 3.2.x eliminates the corruption
with no other environment changes (same GBK-locale machine).
This commit is contained in:
2026-07-15 16:41:58 +08:00
parent 7f439f0db5
commit 4046c9452d
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ dependencies = [
"httpx>=0.27.0",
"mcp>=1.27,<2",
"openai>=1.0.0",
"paddlepaddle>=3.0.0",
"paddlepaddle>=3.0.0,<3.3.0",
"paddleocr>=3.0.0",
]