Skip to content

Commit 013548a

Browse files
author
Will Feng
committed
use cuda 10
1 parent c9ba905 commit 013548a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@ pytorch_tutorial_build_defaults: &pytorch_tutorial_build_defaults
162162
163163
pytorch_tutorial_build_worker_defaults: &pytorch_tutorial_build_worker_defaults
164164
environment:
165-
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda9-cudnn7-py3"
166-
CUDA_VERSION: "9"
165+
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda10-cudnn7-py3-gcc7"
166+
CUDA_VERSION: "10"
167167
resource_class: gpu.medium
168168
<<: *pytorch_tutorial_build_defaults
169169

170170
pytorch_tutorial_build_manager_defaults: &pytorch_tutorial_build_manager_defaults
171171
environment:
172-
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda9-cudnn7-py3"
172+
DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-xenial-cuda10-cudnn7-py3-gcc7"
173173
resource_class: medium
174174
<<: *pytorch_tutorial_build_defaults
175175

.jenkins/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ pip install sphinx-gallery tqdm matplotlib ipython pillow==4.1.1
2727
# Install torchvision from conda
2828
pip uninstall -y torchvision || true
2929
pip uninstall -y torchvision || true
30-
# GPU, requires CUDA version 9.0
31-
conda install https://anaconda.org/pytorch/torchvision/0.3.0/download/linux-64/torchvision-0.3.0-py36_cu9.0.176_1.tar.bz2 --no-deps
30+
# GPU, requires CUDA version 10.0
31+
conda install -c pytorch torchvision --no-deps
3232

3333
# Install torchaudio from source
3434
git clone https://github.com/pytorch/audio --quiet
@@ -45,8 +45,8 @@ if [[ $(pip show torch) ]]; then
4545
fi
4646

4747
# Install a nightly build of pytorch
48-
# GPU, requires CUDA version 9.0
49-
pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cu90/torch_nightly.html
48+
# GPU, requires CUDA version 10.0
49+
pip install cython torch_nightly -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
5050

5151
# Decide whether to parallelize tutorial builds, based on $JOB_BASE_NAME
5252
export NUM_WORKERS=20

0 commit comments

Comments
 (0)