@@ -19,7 +19,7 @@ concurrency:
19
19
20
20
jobs :
21
21
build_cpu_py :
22
- runs-on : ubuntu-18 .04
22
+ runs-on : ubuntu-22 .04
23
23
strategy :
24
24
matrix :
25
25
python-version : [3.8, 3.9]
28
28
- torch : 1.8.1
29
29
torchvision : 0.9.1
30
30
steps :
31
- - uses : actions/checkout@v2
31
+ - uses : actions/checkout@v3
32
32
- name : Set up Python ${{ matrix.python-version }}
33
- uses : actions/setup-python@v2
33
+ uses : actions/setup-python@v4
34
34
with :
35
35
python-version : ${{ matrix.python-version }}
36
36
- name : Upgrade pip
45
45
pip install -U openmim
46
46
pip install git+https://github.com/open-mmlab/mmengine.git
47
47
mim install 'mmcv>=2.0.0rc4'
48
- pip install git+https://github.com/open-mmlab/[email protected]
49
- pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
48
+ pip install mmcls==1.0.0rc6
49
+ pip install git+https://github.com/open-mmlab/mmdetection.git@main
50
50
- name : Install unittest dependencies
51
51
run : pip install -r requirements/tests.txt -r requirements/optional.txt
52
52
- name : Build and install
58
58
coverage xml
59
59
coverage report -m
60
60
build_cpu_pt :
61
- runs-on : ubuntu-18 .04
61
+ runs-on : ubuntu-22 .04
62
62
strategy :
63
63
matrix :
64
64
python-version : [3.7]
82
82
# - torch: 1.13.0
83
83
# torchvision: 0.14.0
84
84
steps :
85
- - uses : actions/checkout@v2
85
+ - uses : actions/checkout@v3
86
86
- name : Set up Python ${{ matrix.python-version }}
87
- uses : actions/setup-python@v2
87
+ uses : actions/setup-python@v4
88
88
with :
89
89
python-version : ${{ matrix.python-version }}
90
90
- name : Upgrade pip
@@ -101,8 +101,8 @@ jobs:
101
101
pip install -U openmim
102
102
pip install git+https://github.com/open-mmlab/mmengine.git
103
103
mim install 'mmcv>=2.0.0rc4'
104
- pip install git+https://github.com/open-mmlab/[email protected]
105
- pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
104
+ pip install mmcls==1.0.0rc6
105
+ pip install git+https://github.com/open-mmlab/mmdetection.git@main
106
106
- name : Install unittest dependencies
107
107
run : pip install -r requirements/tests.txt -r requirements/optional.txt
108
108
- name : Build and install
@@ -131,93 +131,6 @@ jobs:
131
131
env_vars : OS,PYTHON
132
132
name : codecov-umbrella
133
133
fail_ci_if_error : false
134
-
135
- build_cu102 :
136
- runs-on : ubuntu-18.04
137
- container :
138
- image : pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel
139
- strategy :
140
- matrix :
141
- python-version : [3.7]
142
- include :
143
- - torch : 1.8.1
144
- cuda : 10.2
145
- steps :
146
- - uses : actions/checkout@v2
147
- - name : Set up Python ${{ matrix.python-version }}
148
- uses : actions/setup-python@v2
149
- with :
150
- python-version : ${{ matrix.python-version }}
151
- - name : Upgrade pip
152
- run : |
153
- pip install pip --upgrade
154
- pip install wheel
155
- - name : Fetch GPG keys
156
- run : |
157
- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
158
- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
159
- - name : Install Python-dev
160
- run : apt-get update && apt-get install -y python${{matrix.python-version}}-dev
161
- - name : Install system dependencies
162
- run : |
163
- apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
164
- - name : Install mmseg dependencies
165
- run : |
166
- python -V
167
- pip install -U openmim
168
- pip install git+https://github.com/open-mmlab/mmengine.git
169
- mim install 'mmcv>=2.0.0rc4'
170
- pip install git+https://github.com/open-mmlab/[email protected]
171
- pip install git+https://github.com/open-mmlab/[email protected]
172
- - name : Install unittest dependencies
173
- run : pip install -r requirements/tests.txt -r requirements/optional.txt
174
- - name : Build and install
175
- run : |
176
- python setup.py check -m -s
177
- TORCH_CUDA_ARCH_LIST=7.0 pip install -e .
178
- build_cu116 :
179
- runs-on : ubuntu-18.04
180
- container :
181
- image : pytorch/pytorch:1.13.0-cuda11.6-cudnn8-devel
182
- strategy :
183
- matrix :
184
- python-version : [3.7]
185
- include :
186
- - torch : 1.13.0
187
- cuda : 11.6
188
- steps :
189
- - uses : actions/checkout@v2
190
- - name : Set up Python ${{ matrix.python-version }}
191
- uses : actions/setup-python@v2
192
- with :
193
- python-version : ${{ matrix.python-version }}
194
- - name : Upgrade pip
195
- run : |
196
- pip install pip --upgrade
197
- pip install wheel
198
- - name : Fetch GPG keys
199
- run : |
200
- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
201
- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
202
- - name : Install Python-dev
203
- run : apt-get update && apt-get install -y python${{matrix.python-version}}-dev
204
- - name : Install system dependencies
205
- run : |
206
- apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
207
- - name : Install mmseg dependencies
208
- run : |
209
- python -V
210
- pip install -U openmim
211
- pip install git+https://github.com/open-mmlab/mmengine.git
212
- mim install 'mmcv>=2.0.0rc4'
213
- pip install git+https://github.com/open-mmlab/[email protected]
214
- pip install git+https://github.com/open-mmlab/[email protected]
215
- - name : Install unittest dependencies
216
- run : pip install -r requirements/tests.txt -r requirements/optional.txt
217
- - name : Build and install
218
- run : |
219
- python setup.py check -m -s
220
- TORCH_CUDA_ARCH_LIST=7.0 pip install -e .
221
134
build_windows :
222
135
runs-on : ${{ matrix.os }}
223
136
strategy :
@@ -226,9 +139,9 @@ jobs:
226
139
python : [3.7]
227
140
platform : [cpu, cu111]
228
141
steps :
229
- - uses : actions/checkout@v2
142
+ - uses : actions/checkout@v3
230
143
- name : Set up Python ${{ matrix.python-version }}
231
- uses : actions/setup-python@v2
144
+ uses : actions/setup-python@v4
232
145
with :
233
146
python-version : ${{ matrix.python-version }}
234
147
- name : Upgrade pip
@@ -245,8 +158,8 @@ jobs:
245
158
pip install -U openmim
246
159
pip install git+https://github.com/open-mmlab/mmengine.git
247
160
mim install 'mmcv>=2.0.0rc4'
248
- pip install git+https://github.com/open-mmlab/[email protected]
249
- pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
161
+ pip install mmcls==1.0.0rc6
162
+ pip install git+https://github.com/open-mmlab/mmdetection.git@main
250
163
- name : Install unittest dependencies
251
164
run : pip install -r requirements/tests.txt -r requirements/optional.txt
252
165
- name : Build and install
0 commit comments