Skip to content

Commit

Permalink
Switch deprecated ubuntu-18.04 runner to ubuntu-latest (#1334)
Browse files Browse the repository at this point in the history
* Switch deprecated ubuntu-18.04 runner to self-hosted 2xlarge

* Leave build-nvidia-docker for now

* Apply suggestions from code review

Co-authored-by: Nikita Shulga <[email protected]>

* Use ephemeral runners

* Use ubuntu-latest

* Apply suggestions from code review

Co-authored-by: Nikita Shulga <[email protected]>

* Switch from latest to 22.04 to pin the version

---------

Co-authored-by: Nikita Shulga <[email protected]>
  • Loading branch information
huydhn and malfet authored Mar 17, 2023
1 parent 96d6aee commit ab6f166
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-conda-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:

jobs:
build-docker:
runs-on: linux.2xlarge
runs-on: ubuntu-22.04
strategy:
matrix:
cuda_version: ["11.6", "11.7", "11.8", "cpu"]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-libtorch-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:

jobs:
build-docker-cuda:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
cuda_version: ["11.8", "11.7", "11.6"]
Expand All @@ -44,7 +44,7 @@ jobs:
run: |
libtorch/build_docker.sh
build-docker-rocm:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
rocm_version: ["5.3", "5.4.2"]
Expand All @@ -63,7 +63,7 @@ jobs:
run: |
libtorch/build_docker.sh
build-docker-cpu:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: Checkout PyTorch
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-magma-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
push-windows-magma:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
environment: magma
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
needs: build-windows-magma
steps:
- name: Download all artifacts
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-manywheel-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:

jobs:
build-docker-cuda:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
cuda_version: ["11.8", "11.7", "11.6"]
Expand All @@ -46,7 +46,7 @@ jobs:
run: |
manywheel/build_docker.sh
build-docker-rocm:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
rocm_version: ["5.3", "5.4.2"]
Expand All @@ -65,7 +65,7 @@ jobs:
run: |
manywheel/build_docker.sh
build-docker-cpu:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- name: Checkout PyTorch
uses: actions/checkout@v3
Expand All @@ -78,7 +78,7 @@ jobs:
run: |
manywheel/build_docker.sh
build-docker-cpu-cxx11-abi:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
env:
GPU_ARCH_TYPE: cpu-cxx11-abi
steps:
Expand Down

0 comments on commit ab6f166

Please sign in to comment.