diff --git a/.jenkins/build.sh b/.jenkins/build.sh index 9feb787b1a6..7f47766eb05 100755 --- a/.jenkins/build.sh +++ b/.jenkins/build.sh @@ -21,15 +21,6 @@ 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 @@ -37,24 +28,6 @@ pip install -e git+git://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch # 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 @@ -203,6 +176,3 @@ elif [[ "${JOB_BASE_NAME}" == *manager ]]; then else make docs fi - -rm -rf vision -rm -rf audio diff --git a/requirements.txt b/requirements.txt index 9a43cc1a632..7fd8704fd31 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,6 +7,8 @@ numpy matplotlib torch torchvision +torchtext +torchaudio PyHamcrest bs4 awscli==1.16.35