Unverified Commit 1e0f7942 authored by Nicolas Hug's avatar Nicolas Hug Committed by GitHub
Browse files

Don't install torchvision as editable mode when not needed (#4179)

parent 90a2402b
......@@ -241,7 +241,7 @@ jobs:
command: |
pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# need to install torchvision dependencies due to transitive imports
pip install --user --progress-bar off --editable .
pip install --user --progress-bar off .
pip install pytest
python test/test_hub.py
......@@ -254,7 +254,7 @@ jobs:
command: |
pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# need to install torchvision dependencies due to transitive imports
pip install --user --progress-bar off --editable .
pip install --user --progress-bar off .
pip install --user onnx
pip install --user onnxruntime
pip install --user pytest
......
......@@ -241,7 +241,7 @@ jobs:
command: |
pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# need to install torchvision dependencies due to transitive imports
pip install --user --progress-bar off --editable .
pip install --user --progress-bar off .
pip install pytest
python test/test_hub.py
......@@ -254,7 +254,7 @@ jobs:
command: |
pip install --user --progress-bar off --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
# need to install torchvision dependencies due to transitive imports
pip install --user --progress-bar off --editable .
pip install --user --progress-bar off .
pip install --user onnx
pip install --user onnxruntime
pip install --user pytest
......
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