Skip to content

Update the PT1 Tutorials Jenkins Build script to use CUDA 8.0 #308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 17, 2018
Merged
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
14 changes: 10 additions & 4 deletions .jenkins/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,25 @@ sudo apt-get install -y --no-install-recommends unzip p7zip-full sox libsox-dev

# Install a nightly build of pytorch

# GPU, requires CUDA version 9.0 and python version 3.6
pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cu90/torch_nightly-2018.8.28.dev1-cp36-cp36m-linux_x86_64.whl
# GPU, requires CUDA version 8.0
pip install cython torch_nightly -f pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu80/torch_nightly.html

# GPU, requires CUDA version 9.0
# pip install cython torch_nightly -f pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu90/torch_nightly.html

# GPU, requires CUDA version 9.2
# pip install cython torch_nightly -f pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cu92/torch_nightly.html

# CPU
# pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly-2018.8.24.dev1-cp36-cp36m-linux_x86_64.whl
# pip install cython torch_nightly -f pip install torch_nightly -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html

## Install doc dependencies

export PATH=/opt/conda/bin:$PATH
# pillow >= 4.2 will throw error when trying to write mode RGBA as JPEG,
# this is a workaround to the issue.
conda install -y sphinx pandas pillow=4.1.1
pip install sphinx-gallery sphinx_rtd_theme tqdm matplotlib ipython
pip install sphinx-gallery pytorch_sphinx_theme tqdm matplotlib ipython

git clone https://github.com/pytorch/vision --quiet
pushd vision
Expand Down