Skip to content

Commit 2eca83c

Browse files
author
Will Feng
committed
Fix torchvision install
1 parent 400e324 commit 2eca83c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.jenkins/build.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ 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 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
28+
# Install torchvision from pip
29+
pip install torchvision --no-deps
3330

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

0 commit comments

Comments
 (0)