You need to sign in or sign up before continuing.
Unverified Commit 31921d8d authored by Joao Gante's avatar Joao Gante Committed by GitHub
Browse files

Jax: scipy version pin (#30402)

scipy pin for jax
parent 2d61823f
...@@ -161,6 +161,7 @@ _deps = [ ...@@ -161,6 +161,7 @@ _deps = [
"safetensors>=0.4.1", "safetensors>=0.4.1",
"sagemaker>=2.31.0", "sagemaker>=2.31.0",
"scikit-learn", "scikit-learn",
"scipy<1.13.0", # SciPy >= 1.13.0 is not supported with the current jax pin (`jax>=0.4.1,<=0.4.13`)
"sentencepiece>=0.1.91,!=0.1.92", "sentencepiece>=0.1.91,!=0.1.92",
"sigopt", "sigopt",
"starlette", "starlette",
...@@ -267,7 +268,7 @@ if os.name == "nt": # windows ...@@ -267,7 +268,7 @@ if os.name == "nt": # windows
extras["flax"] = [] # jax is not supported on windows extras["flax"] = [] # jax is not supported on windows
else: else:
extras["retrieval"] = deps_list("faiss-cpu", "datasets") extras["retrieval"] = deps_list("faiss-cpu", "datasets")
extras["flax"] = deps_list("jax", "jaxlib", "flax", "optax") extras["flax"] = deps_list("jax", "jaxlib", "flax", "optax", "scipy")
extras["tokenizers"] = deps_list("tokenizers") extras["tokenizers"] = deps_list("tokenizers")
extras["ftfy"] = deps_list("ftfy") extras["ftfy"] = deps_list("ftfy")
......
...@@ -67,6 +67,7 @@ deps = { ...@@ -67,6 +67,7 @@ deps = {
"safetensors": "safetensors>=0.4.1", "safetensors": "safetensors>=0.4.1",
"sagemaker": "sagemaker>=2.31.0", "sagemaker": "sagemaker>=2.31.0",
"scikit-learn": "scikit-learn", "scikit-learn": "scikit-learn",
"scipy": "scipy<1.13.0",
"sentencepiece": "sentencepiece>=0.1.91,!=0.1.92", "sentencepiece": "sentencepiece>=0.1.91,!=0.1.92",
"sigopt": "sigopt", "sigopt": "sigopt",
"starlette": "starlette", "starlette": "starlette",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment