Skip to content

Commit 7e41517

Browse files
authored
[CI] Upgrade ubuntu version in GHA (#1116)
1 parent 7a93629 commit 7e41517

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
defaults:
5757
run:
5858
shell: bash -l {0}
59-
container: nvidia/cuda:11.8.0-cudnn8-devel-ubuntu18.04
59+
container: nvidia/cuda:11.8.0-cudnn8-devel-ubuntu20.04
6060
steps:
6161
- name: Install deps
6262
run: |

.github/workflows/nightly_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
build-wheel-linux:
2727
# Don't run on forked repos.
2828
if: github.repository_owner == 'pytorch'
29-
runs-on: ubuntu-18.04
29+
runs-on: ubuntu-20.04
3030
strategy:
3131
matrix:
3232
python_version: [["3.7", "cp37-cp37m"], ["3.8", "cp38-cp38"], ["3.9", "cp39-cp39"], ["3.10", "cp310-cp310"]]
@@ -147,7 +147,7 @@ jobs:
147147
# Don't run on forked repos.
148148
if: github.repository_owner == 'pytorch'
149149
needs: test-wheel-linux
150-
runs-on: ubuntu-18.04
150+
runs-on: ubuntu-20.04
151151
strategy:
152152
matrix:
153153
python_version: [["3.7", "cp37-cp37m"], ["3.8", "cp38-cp38"], ["3.9", "cp39-cp39"], ["3.10", "cp310-cp310"]]
@@ -206,7 +206,7 @@ jobs:
206206
# Don't run on forked repos.
207207
if: github.repository_owner == 'pytorch'
208208
needs: build-wheel-linux
209-
runs-on: ubuntu-18.04
209+
runs-on: ubuntu-20.04
210210
strategy:
211211
matrix:
212212
python_version: [["3.7", "cp37-cp37"], ["3.8", "cp38-cp38"], ["3.9", "cp39-cp39"], ["3.10", "cp310-cp310"]]

.github/workflows/wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010

1111
build-wheel-linux:
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-20.04
1313
strategy:
1414
matrix:
1515
python_version: [["3.7", "cp37-cp37m"], ["3.8", "cp38-cp38"], ["3.9", "cp39-cp39"], ["3.10", "cp310-cp310"]]
@@ -115,7 +115,7 @@ jobs:
115115
needs: [build-wheel-linux, build-wheel-mac]
116116
strategy:
117117
matrix:
118-
os: [["linux", "ubuntu-18.04"], ["mac", "macos-latest"]]
118+
os: [["linux", "ubuntu-20.04"], ["mac", "macos-latest"]]
119119
python_version: [ "3.7", "3.8", "3.9", "3.10" ]
120120
runs-on: ${{ matrix.os[1] }}
121121
steps:

0 commit comments

Comments
 (0)