Skip to content

Commit d85aacd

Browse files
authored
[ci] Updated pytorch version and installation cmd (#2970)
1 parent 4d780aa commit d85aacd

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ parameters:
44
pytorch_stable_image:
55
type: string
66
# https://hub.docker.com/r/pytorch/pytorch/tags
7-
default: "pytorch/pytorch:1.13.0-cuda11.6-cudnn8-runtime"
7+
default: "pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime"
88
pytorch_stable_image_devel:
99
type: string
1010
# https://hub.docker.com/r/pytorch/pytorch/tags
11-
default: "pytorch/pytorch:1.13.0-cuda11.6-cudnn8-devel"
11+
default: "pytorch/pytorch:2.0.1-cuda11.7-cudnn8-devel"
1212
workingdir:
1313
type: string
1414
default: "/tmp/ignite"

.github/workflows/gpu-tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
pytorch-channel: [pytorch, pytorch-nightly]
2626
fail-fast: false
2727
env:
28-
DOCKER_IMAGE: "pytorch/conda-builder:cuda11.7"
28+
DOCKER_IMAGE: "pytorch/conda-builder:cuda11.8"
2929
REPOSITORY: ${{ github.repository }}
3030
PR_NUMBER: ${{ github.event.pull_request.number }}
3131
runs-on: linux.8xlarge.nvidia.gpu
@@ -102,12 +102,11 @@ jobs:
102102
103103
# Install PyTorch
104104
if [ "${{ matrix.pytorch-channel }}" == "pytorch" ]; then
105-
pip install --upgrade torch torchvision --extra-index-url https://download.pytorch.org/whl/cu117
105+
pip install --upgrade torch torchvision --index-url https://download.pytorch.org/whl/cu118
106106
else
107-
pip install --upgrade --pre torch torchvision --extra-index-url https://download.pytorch.org/whl/nightly/cu117
107+
pip install --upgrade --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu118
108108
fi
109109
110-
nvidia-smi
111110
python -c "import torch; print(torch.__version__, ', CUDA is available: ', torch.cuda.is_available()); exit(not torch.cuda.is_available())"
112111
pip list
113112

0 commit comments

Comments
 (0)