Pin Keras for now (#26904)
* Pin Keras for now out of paranoia * Add the keras pin to _tests_requirements.txt too * Make sure the Keras version matches the TF one * make fixup
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
tensorflow<2.15
|
tensorflow<2.15
|
||||||
|
keras<2.15
|
||||||
tensorboard
|
tensorboard
|
||||||
scikit-learn
|
scikit-learn
|
||||||
seqeval
|
seqeval
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -125,6 +125,8 @@ _deps = [
|
|||||||
"jaxlib>=0.4.1,<=0.4.13",
|
"jaxlib>=0.4.1,<=0.4.13",
|
||||||
"jieba",
|
"jieba",
|
||||||
"kenlm",
|
"kenlm",
|
||||||
|
# Keras pin - this is to make sure Keras 3 doesn't destroy us. Remove or change when we have proper support.
|
||||||
|
"keras<2.15",
|
||||||
"keras-nlp>=0.3.1",
|
"keras-nlp>=0.3.1",
|
||||||
"librosa",
|
"librosa",
|
||||||
"nltk",
|
"nltk",
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ deps = {
|
|||||||
"jaxlib": "jaxlib>=0.4.1,<=0.4.13",
|
"jaxlib": "jaxlib>=0.4.1,<=0.4.13",
|
||||||
"jieba": "jieba",
|
"jieba": "jieba",
|
||||||
"kenlm": "kenlm",
|
"kenlm": "kenlm",
|
||||||
|
"keras": "keras<2.15",
|
||||||
"keras-nlp": "keras-nlp>=0.3.1",
|
"keras-nlp": "keras-nlp>=0.3.1",
|
||||||
"librosa": "librosa",
|
"librosa": "librosa",
|
||||||
"nltk": "nltk",
|
"nltk": "nltk",
|
||||||
|
|||||||
Reference in New Issue
Block a user