Skip to content

Commit

Permalink
Pin flax & optax version (huggingface#22895)
Browse files Browse the repository at this point in the history
* Pin optax version

* Pin flax too

* Fixup
  • Loading branch information
amyeroberts authored and novice03 committed Jun 23, 2023
1 parent 718211f commit 2a40388
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"faiss-cpu",
"fastapi",
"filelock",
"flax>=0.4.1",
"flax>=0.4.1,<=0.6.9",
"ftfy",
"fugashi>=1.0",
"GitPython<3.1.19",
Expand All @@ -140,7 +140,7 @@
"onnxruntime-tools>=1.4.2",
"onnxruntime>=1.4.0",
"optuna",
"optax>=0.0.8",
"optax>=0.0.8,<=0.1.4",
"packaging>=20.0",
"parameterized",
"phonemizer",
Expand Down
4 changes: 2 additions & 2 deletions src/transformers/dependency_versions_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"faiss-cpu": "faiss-cpu",
"fastapi": "fastapi",
"filelock": "filelock",
"flax": "flax>=0.4.1",
"flax": "flax>=0.4.1,<=0.6.9",
"ftfy": "ftfy",
"fugashi": "fugashi>=1.0",
"GitPython": "GitPython<3.1.19",
Expand All @@ -41,7 +41,7 @@
"onnxruntime-tools": "onnxruntime-tools>=1.4.2",
"onnxruntime": "onnxruntime>=1.4.0",
"optuna": "optuna",
"optax": "optax>=0.0.8",
"optax": "optax>=0.0.8,<=0.1.4",
"packaging": "packaging>=20.0",
"parameterized": "parameterized",
"phonemizer": "phonemizer",
Expand Down

0 comments on commit 2a40388

Please sign in to comment.