Skip to content

Commit e87d1f6

Browse files
RyanMullinsLIT team
authored andcommitted
Pin HF Transformers to < v5 for TF examples.
PiperOrigin-RevId: 862193088
1 parent 6b3caf7 commit e87d1f6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ keywords = [
8383
examples-common = [
8484
"gunicorn>=20.1.0",
8585
"tensorflow>=2.16.0",
86-
"transformers>=4.27.1",
86+
"transformers>=4.27.1,<5.0.0",
8787
]
8888
# LINT.ThenChange(./requirements_examples_common.txt)
8989
# LINT.IfChange

requirements_examples_common.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818

1919
gunicorn>=20.1.0
2020
tensorflow>=2.16.0
21-
transformers>=4.27.1
21+
transformers>=4.27.1,<5.0.0
2222
# LINT.ThenChange(./pyproject.toml)

0 commit comments

Comments
 (0)