2323 strategy :
2424 fail-fast : false
2525 matrix :
26- python_version : ["3.8"]
27- pytorch_version : ["1.6", "1.8"]
26+ # should be the config used in '.github/workflows/release-docker.yml', but we just keep one to check.
27+ python_version : ["3.9"]
28+ pytorch_version : ["1.9"]
2829 steps :
2930 - name : Checkout
3031 uses : actions/checkout@v2
4546 strategy :
4647 fail-fast : false
4748 matrix :
49+ # the config used in '.circleci/config.yml`'
4850 python_version : ["3.7"]
49- xla_version : ["1.6", "1.8", "1.10 "]
51+ xla_version : ["1.8 "]
5052 steps :
5153 - name : Checkout
5254 uses : actions/checkout@v2
@@ -67,24 +69,19 @@ jobs:
6769 strategy :
6870 fail-fast : false
6971 matrix :
70- include :
71- # todo: see notes in Dockerfile
72- - python_version : " 3.7"
73- pytorch_version : " 1.6"
74- - python_version : " 3.9"
75- pytorch_version : " 1.9"
72+ # the config used in '.azure-pipelines/gpu-tests.yml'
73+ python_version : ["3.7"]
74+ pytorch_version : ["1.8"]
7675 steps :
7776 - name : Checkout
7877 uses : actions/checkout@v2
79-
8078 - name : Build CUDA Docker
8179 # publish master/release
8280 uses : docker/build-push-action@v2
8381 with :
8482 build-args : |
8583 PYTHON_VERSION=${{ matrix.python_version }}
8684 PYTORCH_VERSION=${{ matrix.pytorch_version }}
87- CUDA_VERSION=10.2
8885 file : dockers/base-cuda/Dockerfile
8986 push : false
9087 timeout-minutes : 75
@@ -94,24 +91,17 @@ jobs:
9491 strategy :
9592 fail-fast : false
9693 matrix :
97- include :
98- - python_version : " 3.7"
99- pytorch_version : " 1.6"
100- - python_version : " 3.8"
101- pytorch_version : " 1.9"
102- - python_version : " 3.9"
103- pytorch_version : " 1.10"
94+ # the config used in '.github/workflows/ci_test-conda.yml'
95+ python_version : ["3.7"]
96+ pytorch_version : ["1.6", "1.7", "1.8", "1.9", "1.10"]
10497 steps :
10598 - name : Checkout
10699 uses : actions/checkout@v2
107-
108- # see: https://pytorch.org/get-started/previous-versions/
109100 - run : |
110101 cuda=$(python -c "from distutils.version import LooseVersion as LVer ; print(11.1 if LVer('${{matrix.pytorch_version}}') > LVer('1.7') else 10.2)" 2>&1)
111102 echo "::set-output name=CUDA::$cuda"
112103 id: extend
113-
114- - name : Build CUDA Docker
104+ - name : Build Conda Docker
115105 # publish master/release
116106 uses : docker/build-push-action@v2
117107 with :
@@ -128,9 +118,11 @@ jobs:
128118 strategy :
129119 fail-fast : false
130120 matrix :
131- include :
132- - python_version : " 3.8"
133- pytorch_version : " 1.7"
121+ # the config used in 'dockers/ipu-ci-runner/Dockerfile'
122+ python_version : ["3.8"] # latest
123+ # TODO: upgrade - PopTorch 2.2 uses torch 1.9, see:
124+ # https://docs.graphcore.ai/projects/poptorch-user-guide/en/latest/installation.html#version-compatibility
125+ pytorch_version : ["1.7"]
134126 steps :
135127 - name : Checkout
136128 uses : actions/checkout@v2
0 commit comments