"docs/source/vscode:/vscode.git/clone" did not exist on "3922a2497e3a4f351ea6dae7d535c4e8801ff274"
Unverified Commit c5f3149f authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Adjust setup so that all extras run on Windows (#8102)

parent 995006ea
...@@ -89,9 +89,12 @@ extras["tf-cpu"] = [ ...@@ -89,9 +89,12 @@ extras["tf-cpu"] = [
] ]
extras["torch"] = ["torch>=1.0"] extras["torch"] = ["torch>=1.0"]
extras["flax"] = ["jaxlib==0.1.55", "jax>=0.2.0", "flax==0.2.2"]
if os.name == "nt": # windows if os.name == "nt": # windows
extras["retrieval"] = ["datasets"] # faiss is not supported on windows
extras["flax"] = [] # jax is not supported on windows extras["flax"] = [] # jax is not supported on windows
else:
extras["retrieval"] = ["faiss-cpu", "datasets"]
extras["flax"] = ["jaxlib==0.1.55", "jax>=0.2.0", "flax==0.2.2"]
extras["tokenizers"] = ["tokenizers==0.9.2"] extras["tokenizers"] = ["tokenizers==0.9.2"]
extras["onnxruntime"] = ["onnxruntime>=1.4.0", "onnxruntime-tools>=1.4.2"] extras["onnxruntime"] = ["onnxruntime>=1.4.0", "onnxruntime-tools>=1.4.2"]
......
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