Pin Keras cause they messed their release (#14262)

* Pin Keras cause they messed their release

* Put != instead of <

* Try this way

* Back to the beginning but more agressive
This commit is contained in:
Sylvain Gugger
2021-11-03 15:03:09 -04:00
committed by GitHub
parent 1149243184
commit a1c15ea855
2 changed files with 4 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ _deps = [
"jax>=0.2.8",
"jaxlib>=0.1.65",
"jieba",
"keras!=2.7.0", # Remove when they fix their release
"keras2onnx",
"nltk",
"numpy>=1.17",
@@ -227,8 +228,8 @@ extras = {}
extras["ja"] = deps_list("fugashi", "ipadic", "unidic_lite", "unidic")
extras["sklearn"] = deps_list("scikit-learn")
extras["tf"] = deps_list("tensorflow", "onnxconverter-common", "keras2onnx")
extras["tf-cpu"] = deps_list("tensorflow-cpu", "onnxconverter-common", "keras2onnx")
extras["tf"] = deps_list("tensorflow", "onnxconverter-common", "keras2onnx", "keras")
extras["tf-cpu"] = deps_list("tensorflow-cpu", "onnxconverter-common", "keras2onnx", "keras")
extras["torch"] = deps_list("torch")