1010 - CUDA_HOME=/usr/local/cuda
1111 jobs :
1212 # Python 3.6
13+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cpu
14+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu101
15+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu102
16+ - PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu111
1317 - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
1418 - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
1519 - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
1620 - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
1721 - PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
18- - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
19- - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
20- - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
21- - PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
2222 # Python 3.7
23+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cpu
24+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu101
25+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu102
26+ - PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu111
2327 - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
2428 - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
2529 - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu101
2630 - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
2731 - PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
28- - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
29- - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
30- - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu101
31- - PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
3232 # Python 3.8
33+ - PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cpu
34+ - PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu101
35+ - PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu102
36+ - PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu111
3337 - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
3438 - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
3539 - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu101
3640 - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
3741 - PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
38- - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
39- - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
40- - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
41- - PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
4242
4343jobs :
44- # For daily builds, we only test on Python 3.6 with CUDA 10.2 /11.0 .
44+ # For daily builds, we only test on Python 3.6 with 11.0 /11.1 .
4545 # For deployment, we exclude *all* macOS CUDA and Windows CUDA 9.2 jobs.
4646 exclude :
47- # Python 3.6
47+ # Python 3.6 / PyTorch 1.8.0
48+ - if : not (tag is present or commit_message =~ ci-deploy) and os != osx
49+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cpu
50+ - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
51+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu101
52+ - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
53+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu102
54+ - if : os = osx
55+ env : PYTHON_VERSION=3.6 TORCH_VERSION=1.8.0 IDX=cu111
56+ # Python 3.6 / PyTorch 1.7.0
4857 - if : not (tag is present or commit_message =~ ci-deploy) and os != osx
4958 env : PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cpu
5059 - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
5160 env : PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu92
5261 - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
5362 env : PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu101
54- - if : os = osx
63+ - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
5564 env : PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu102
5665 - if : os = osx
5766 env : PYTHON_VERSION=3.6 TORCH_VERSION=1.7.0 IDX=cu110
58- - if : not (tag is present or commit_message =~ ci-deploy) and os != osx
59- env : PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cpu
60- - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
61- env : PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu92
67+ # Python 3.7 / PyTorch 1.8.0
68+ - if : not (tag is present or commit_message =~ ci-deploy)
69+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cpu
6270 - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
63- env : PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu101
64- - if : os = osx
65- env : PYTHON_VERSION=3.6 TORCH_VERSION=1.6.0 IDX=cu102
66- # Python 3.7
71+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu101
72+ - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
73+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu102
74+ - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
75+ env : PYTHON_VERSION=3.7 TORCH_VERSION=1.8.0 IDX=cu111
6776 - if : not (tag is present or commit_message =~ ci-deploy)
77+ # Python 3.7 / PyTorch 1.7.0
6878 env : PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cpu
6979 - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
7080 env : PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu92
@@ -74,16 +84,17 @@ jobs:
7484 env : PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu102
7585 - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
7686 env : PYTHON_VERSION=3.7 TORCH_VERSION=1.7.0 IDX=cu110
87+ # Python 3.8 / PyTorch 1.8.0
7788 - if : not (tag is present or commit_message =~ ci-deploy)
78- env : PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cpu
79- - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
80- env : PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu92
89+ env : PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cpu
8190 - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
82- env : PYTHON_VERSION=3.7 TORCH_VERSION=1.6 .0 IDX=cu101
91+ env : PYTHON_VERSION=3.8 TORCH_VERSION=1.8 .0 IDX=cu101
8392 - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
84- env : PYTHON_VERSION=3.7 TORCH_VERSION=1.6.0 IDX=cu102
85- # Python 3.8
93+ env : PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu102
94+ - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
95+ env : PYTHON_VERSION=3.8 TORCH_VERSION=1.8.0 IDX=cu111
8696 - if : not (tag is present or commit_message =~ ci-deploy)
97+ # Python 3.8 / PyTorch 1.7.0
8798 env : PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cpu
8899 - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
89100 env : PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu92
@@ -93,22 +104,14 @@ jobs:
93104 env : PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu102
94105 - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
95106 env : PYTHON_VERSION=3.8 TORCH_VERSION=1.7.0 IDX=cu110
96- - if : not (tag is present or commit_message =~ ci-deploy)
97- env : PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cpu
98- - if : not (tag is present or commit_message =~ ci-deploy) or os != linux
99- env : PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu92
100- - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
101- env : PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu101
102- - if : not (tag is present or commit_message =~ ci-deploy) or os = osx
103- env : PYTHON_VERSION=3.8 TORCH_VERSION=1.6.0 IDX=cu102
104107
105108install :
106109 - source script/gcc.sh
107110 - source script/cuda.sh
108111 - source script/conda.sh
109112 - conda create --yes -n test python="${PYTHON_VERSION}"
110113 - source activate test
111- - conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch --yes
114+ - conda install pytorch=${TORCH_VERSION} ${TOOLKIT} -c pytorch -c conda-forge - -yes
112115 - source script/torch.sh
113116 - pip install flake8
114117 - pip install codecov
0 commit comments