Skip to content

Commit 5a8db36

Browse files
Update dependency transformers to v5 [SECURITY]
1 parent aeda2fa commit 5a8db36

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hypencoder/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# saved config triggers a meta-device path in transformers >=5 that
88
# .from_pretrained() rejects. 4.45+ is fine.
99
torch>=2.5
10-
transformers>=4.45,<5
10+
transformers>=5.0.0,<6
1111

1212
# ONNX export + runtime (used both for export and for the optional INT8
1313
# quantization step in model2onnx.py).

reverse-image-search/script/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
torch>=2.5.0
2-
transformers>=4.46.0
2+
transformers>=5.0.0
33
torchvision>=0.20.0
44
pillow>=11.0.0
55
numpy>=2.0.0

0 commit comments

Comments
 (0)