Skip to content

Commit c3194d0

Browse files
author
Will Feng
committed
Revert "Fix torchvision install"
This reverts commit 2eca83c.
1 parent 93b9528 commit c3194d0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.jenkins/build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch
2525
# this is a workaround to the issue.
2626
pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
2727

28-
# Install torchvision from pip
29-
pip install torchvision --no-deps
28+
# Install torchvision from source
29+
git clone https://github.com/pytorch/vision --quiet
30+
pushd vision
31+
pip install . --no-deps # We don't want it to install the stock PyTorch version from pip
32+
popd
3033

3134
# Install torchaudio from source
3235
git clone https://github.com/pytorch/audio --quiet

0 commit comments

Comments
 (0)