Skip to content

Commit e3c2f4b

Browse files
committed
Reverting and fixing theme
1 parent 16016b5 commit e3c2f4b

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.jenkins/build.sh

+8-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cu8
1515
# CPU
1616
# pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
1717

18-
pip install -r requirements.txt
19-
pip install -r ../requirements.txt
18+
19+
export PATH=/opt/conda/bin:$PATH
20+
# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
21+
# this is a workaround to the issue.
22+
conda install -y sphinx pandas pillow=4.1.1
23+
# PyTorch Theme
24+
pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
25+
pip install sphinx-gallery tqdm matplotlib ipython
2026

2127
git clone https://github.com/pytorch/vision --quiet
2228
pushd vision

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Refer to ./jenkins/build.sh for tutorial build instructions
2+
13
sphinx
24
sphinx-gallery
35
tqdm
@@ -17,5 +19,3 @@ scikit-image
1719
# this is a workaround to the issue.
1820
pillow==4.1.1
1921
wget
20-
21-
# we need to install torchaudio and torchvision. refer to ./jenkins/build.sh

0 commit comments

Comments
 (0)