Add torchvision to training deps (#607)
This commit is contained in:
parent
4f1c989ffb
commit
e72f1a8a71
2
setup.py
2
setup.py
|
@ -174,7 +174,7 @@ extras = {}
|
||||||
extras["quality"] = ["black==22.8", "isort>=5.5.4", "flake8>=3.8.3", "hf-doc-builder"]
|
extras["quality"] = ["black==22.8", "isort>=5.5.4", "flake8>=3.8.3", "hf-doc-builder"]
|
||||||
extras["docs"] = ["hf-doc-builder"]
|
extras["docs"] = ["hf-doc-builder"]
|
||||||
extras["training"] = ["accelerate", "datasets", "tensorboard", "modelcards"]
|
extras["training"] = ["accelerate", "datasets", "tensorboard", "modelcards"]
|
||||||
extras["test"] = ["datasets", "onnxruntime", "pytest", "pytest-timeout", "pytest-xdist", "scipy", "transformers"]
|
extras["test"] = ["datasets", "onnxruntime", "pytest", "pytest-timeout", "pytest-xdist", "scipy", "torchvision", "transformers"]
|
||||||
extras["torch"] = deps_list("torch")
|
extras["torch"] = deps_list("torch")
|
||||||
|
|
||||||
if os.name == "nt": # windows
|
if os.name == "nt": # windows
|
||||||
|
|
Loading…
Reference in New Issue