Skip to content

Commit

Permalink
TF 2.14 compatibility (huggingface#25630)
Browse files Browse the repository at this point in the history
* Update the TF pin and see if anything breaks

* make fixup

* make fixup

* make fixup
  • Loading branch information
Rocketknight1 authored Aug 22, 2023
1 parent 3629190 commit 62396cf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/tensorflow/_tests_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tensorflow<2.14
tensorflow<2.15
tensorboard
scikit-learn
seqeval
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@
"sudachipy>=0.6.6",
"sudachidict_core>=20220729",
# TensorFlow pin. When changing this value, update examples/tensorflow/_tests_requirements.txt accordingly
"tensorflow-cpu>=2.6,<2.14",
"tensorflow>=2.6,<2.14",
"tensorflow-text<2.14",
"tensorflow-cpu>=2.6,<2.15",
"tensorflow>=2.6,<2.15",
"tensorflow-text<2.15",
"tf2onnx",
"timeout-decorator",
"timm",
Expand Down
6 changes: 3 additions & 3 deletions src/transformers/dependency_versions_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
"starlette": "starlette",
"sudachipy": "sudachipy>=0.6.6",
"sudachidict_core": "sudachidict_core>=20220729",
"tensorflow-cpu": "tensorflow-cpu>=2.6,<2.14",
"tensorflow": "tensorflow>=2.6,<2.14",
"tensorflow-text": "tensorflow-text<2.14",
"tensorflow-cpu": "tensorflow-cpu>=2.6,<2.15",
"tensorflow": "tensorflow>=2.6,<2.15",
"tensorflow-text": "tensorflow-text<2.15",
"tf2onnx": "tf2onnx",
"timeout-decorator": "timeout-decorator",
"timm": "timm",
Expand Down

0 comments on commit 62396cf

Please sign in to comment.