Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .jenkins/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,13 @@ pip install sphinx==1.8.2 pandas
# For Tensorboard. Until 1.14 moves to the release channel.
pip install tb-nightly

# Temporary install of 1.2 until release is ready
pip uninstall torchvision -y
pip uninstall torch -y
pip install --pre torch==1.2.0 -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html

# install awscli
# pip uninstall awscli
# pip install awscli==1.16.35

# PyTorch Theme
rm -rf src
pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
# this is a workaround to the issue.
pip install sphinx-gallery==0.3.1 tqdm matplotlib ipython pillow==4.1.1

# Install torchvision from source
git clone https://github.com/pytorch/vision --quiet
pushd vision
python setup.py install
popd

# Install torchaudio from source
git clone https://github.com/pytorch/audio --quiet
pushd audio
python setup.py install
popd

# Install torchtext from source
git clone https://github.com/pytorch/text --quiet
pushd text
python setup.py install
popd

aws configure set default.s3.multipart_threshold 5120MB

# Decide whether to parallelize tutorial builds, based on $JOB_BASE_NAME
Expand Down Expand Up @@ -203,6 +176,3 @@ elif [[ "${JOB_BASE_NAME}" == *manager ]]; then
else
make docs
fi

rm -rf vision
rm -rf audio
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ numpy
matplotlib
torch
torchvision
torchtext
torchaudio
PyHamcrest
bs4
awscli==1.16.35
Expand Down