@@ -149,13 +149,6 @@ jobs:
149
149
image : pytorch/pytorch:1.9.0-cuda10.2-cudnn7-devel
150
150
env :
151
151
FORCE_CUDA : 1
152
- strategy :
153
- matrix :
154
- torch : [1.9.0+cu102]
155
- include :
156
- - torch : 1.9.0+cu102
157
- torch_version : torch1.9
158
- torchvision : 0.10.0+cu102
159
152
steps :
160
153
- uses : actions/checkout@v2
161
154
- name : Install system dependencies
@@ -164,14 +157,10 @@ jobs:
164
157
apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libxrender-dev
165
158
apt-get clean
166
159
rm -rf /var/lib/apt/lists/*
167
- - name : Install PyTorch
168
- run : |
169
- python -V
170
- python -m pip install --upgrade pip
171
- python -m pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
172
160
- name : Install dependencies
173
161
run : |
174
162
python -V
163
+ python -m pip show torch torchvision
175
164
export CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'`
176
165
python -m pip install openmim
177
166
python -m pip install -r requirements.txt
@@ -204,13 +193,6 @@ jobs:
204
193
runs-on : ubuntu-20.04
205
194
container :
206
195
image : pytorch/pytorch:1.12.0-cuda11.3-cudnn8-devel
207
- strategy :
208
- matrix :
209
- torch : [1.12.0+cu113]
210
- include :
211
- - torch : 1.12.0+cu113
212
- torch_version : torch1.12
213
- torchvision : 0.13.0+cu113
214
196
steps :
215
197
- uses : actions/checkout@v2
216
198
- name : Install system dependencies
@@ -219,15 +201,10 @@ jobs:
219
201
apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libxrender-dev
220
202
apt-get clean
221
203
rm -rf /var/lib/apt/lists/*
222
- - name : Install PyTorch
223
- run : |
224
- python -V
225
- python -m pip list
226
- python -m pip install --upgrade pip
227
- python -m pip install --no-cache-dir torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html
228
204
- name : Install dependencies
229
205
run : |
230
206
python -V
207
+ python -m pip show torch torchvision
231
208
export CFLAGS=`python -c 'import sysconfig;print("-I"+sysconfig.get_paths()["include"])'`
232
209
python -m pip install --no-cache-dir openmim
233
210
python -m pip install --no-cache-dir -r requirements.txt
0 commit comments