Skip to content

Commit f38e4db

Browse files
davanstrienclaude
andauthored
ocr: pin transformers<5 in dots-ocr (#86)
Same failure as dots-mocr (#76): the model's remote code calls AutoProcessor.register with a string key, which transformers v5 rejects. Hit on the 2026-07-08 MOH benchmark run. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 831d774 commit f38e4db

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ocr/dots-ocr.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
# "tqdm",
99
# "toolz",
1010
# "torch",
11+
# # dots.ocr's remote code (AutoProcessor.register with a string key)
12+
# # breaks on transformers v5; vllm pulls transformers unpinned.
13+
# # Same fix as dots-mocr (#76).
14+
# "transformers<5",
1115
# ]
1216
#
1317
# ///

0 commit comments

Comments
 (0)