Skip to content

Commit

Permalink
Removing Keras version pinning (#14280)
Browse files Browse the repository at this point in the history
* Removing Keras version pinning

* make fixup
  • Loading branch information
Rocketknight1 authored Nov 4, 2021
1 parent fd8136f commit b90a48f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
"jax>=0.2.8",
"jaxlib>=0.1.65",
"jieba",
"keras!=2.7.0", # Remove when they fix their release
"keras2onnx",
"nltk",
"numpy>=1.17",
Expand Down Expand Up @@ -235,8 +234,8 @@ def run(self):
extras["ja"] = deps_list("fugashi", "ipadic", "unidic_lite", "unidic")
extras["sklearn"] = deps_list("scikit-learn")

extras["tf"] = deps_list("tensorflow", "onnxconverter-common", "keras2onnx", "keras")
extras["tf-cpu"] = deps_list("tensorflow-cpu", "onnxconverter-common", "keras2onnx", "keras")
extras["tf"] = deps_list("tensorflow", "onnxconverter-common", "keras2onnx")
extras["tf-cpu"] = deps_list("tensorflow-cpu", "onnxconverter-common", "keras2onnx")

extras["torch"] = deps_list("torch")

Expand Down
1 change: 0 additions & 1 deletion src/transformers/dependency_versions_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"jax": "jax>=0.2.8",
"jaxlib": "jaxlib>=0.1.65",
"jieba": "jieba",
"keras": "keras!=2.7.0",
"keras2onnx": "keras2onnx",
"nltk": "nltk",
"numpy": "numpy>=1.17",
Expand Down

0 comments on commit b90a48f

Please sign in to comment.