Skip to content

Commit eafbb28

Browse files
authored
build(deps): pin transformers (#115)
Pinning transformers at >=4.25.1. Testing on Windows, pip install unstructured-inference ended up with transformers==4.24.x, which caused an ImportError when running a smoke test due to not having a class we import. That class didn't appear until 4.25.1.
1 parent 56ce657 commit eafbb28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

requirements/base.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ python-multipart
33
huggingface-hub
44
opencv-python!=4.7.0.68
55
onnxruntime
6-
transformers
6+
# NOTE(alan): Pinned because this is when the most recent module we import appeared
7+
transformers>=4.25.1

0 commit comments

Comments
 (0)