Skip to content

Commit

Permalink
Pin TensorFlow (huggingface#20313)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgugger authored and Magnus Pierrau committed Dec 15, 2022
1 parent baca2c1 commit 90e95e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"librosa",
"starlette",
"tensorflow-cpu>=2.3",
"tensorflow>=2.4",
"tensorflow>=2.4,<2.10",
"tensorflow-text",
"tf2onnx",
"timeout-decorator",
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/dependency_versions_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"librosa": "librosa",
"starlette": "starlette",
"tensorflow-cpu": "tensorflow-cpu>=2.3",
"tensorflow": "tensorflow>=2.4",
"tensorflow": "tensorflow>=2.4,<2.10",
"tensorflow-text": "tensorflow-text",
"tf2onnx": "tf2onnx",
"timeout-decorator": "timeout-decorator",
Expand Down

0 comments on commit 90e95e1

Please sign in to comment.