mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
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:
parent
73dc23f786
commit
cbd278f0f6
@ -1,4 +1,5 @@
|
||||
tensorflow<2.15
|
||||
keras<2.15
|
||||
tensorboard
|
||||
scikit-learn
|
||||
seqeval
|
||||
|
2
setup.py
2
setup.py
@ -125,6 +125,8 @@ _deps = [
|
||||
"jaxlib>=0.4.1,<=0.4.13",
|
||||
"jieba",
|
||||
"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",
|
||||
"librosa",
|
||||
"nltk",
|
||||
|
@ -32,6 +32,7 @@ deps = {
|
||||
"jaxlib": "jaxlib>=0.4.1,<=0.4.13",
|
||||
"jieba": "jieba",
|
||||
"kenlm": "kenlm",
|
||||
"keras": "keras<2.15",
|
||||
"keras-nlp": "keras-nlp>=0.3.1",
|
||||
"librosa": "librosa",
|
||||
"nltk": "nltk",
|
||||
|
Loading…
Reference in New Issue
Block a user