Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

fix: update transformers version constraint for compatibility

myhlolic0e3d6fe7ff4
diff --git a/pyproject.toml b/pyproject.toml
index e2269e58..7eaf95a5 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -60,7 +60,7 @@ test = [
]
vlm = [
"torch>=2.6.0,<3",
- "transformers>=4.51.1,!=4.57.2,<5.0.0",
+ "transformers>=4.57.6,<5.0.0",
"accelerate>=1.5.1",
]
vllm = [
@@ -84,8 +84,7 @@ pipeline = [
"omegaconf>=2.3.0,<3",
"torch>=2.6.0,<3",
"torchvision",
- "transformers>=4.49.0,!=4.51.0,<5.0.0",
- "safetensors>=0.4.0,<1",
+ "transformers>=4.57.6,<5.0.0",
"onnxruntime>1.17.0",
]
api = [
@@ -170,4 +169,4 @@ exclude_also = [
'if TYPE_CHECKING:',
'class .*\bProtocol\):',
'@(abc\.)?abstractmethod',
-]
+]
\ No newline at end of file