Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from Ubuntu 20.04 to 24.04 #19463

Merged
merged 1 commit into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,31 +118,31 @@ jobs:
matrix:
include:
# Ubuntu packages.
- runs-on: ubuntu-20.04
- runs-on: ubuntu-24.04
build-family: linux-x86_64
build-package: main-dist-linux
experimental: false
- runs-on: ah-ubuntu_22_04-c7g_4x-50
build-family: linux-aarch64
build-package: main-dist-linux
experimental: true
- runs-on: ubuntu-20.04
- runs-on: ubuntu-24.04
build-family: linux-x86_64
build-package: py-compiler-pkg
experimental: false
- runs-on: ah-ubuntu_22_04-c7g_4x-50
build-family: linux-aarch64
build-package: py-compiler-pkg
experimental: true
- runs-on: ubuntu-20.04
- runs-on: ubuntu-24.04
build-family: linux-x86_64
build-package: py-runtime-pkg
experimental: false
- runs-on: ah-ubuntu_22_04-c7g_4x-50
build-family: linux-aarch64
build-package: py-runtime-pkg
experimental: true
- runs-on: ubuntu-20.04
- runs-on: ubuntu-24.04
build-family: linux-x86_64
build-package: py-tf-compiler-tools-pkg
experimental: false
Expand Down Expand Up @@ -368,7 +368,7 @@ jobs:
name: "Trigger validate and publish release"
needs: build_packages
if: github.event.inputs.release_id != ''
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: "Invoke workflow :: Validate and Publish Release"
uses: benc-uk/workflow-dispatch@e2e5e9a103e331dad343f381a29e654aea3cf8fc # v1.2.4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump_torch_mlir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ on:

jobs:
bump_submodule:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
fail-fast: false
matrix:
include:
- name: ubuntu-20.04
runs-on: ubuntu-20.04
- name: ubuntu-24.04
runs-on: ubuntu-24.04
driver-options: -DIREE_HAL_DRIVER_CUDA=ON -DIREE_HAL_DRIVER_HIP=ON -DIREE_HAL_DRIVER_VULKAN=ON
- name: windows-2022
runs-on: windows-2022
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
runtime_small:
needs: setup
if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'runtime_small')
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
BUILD_DIR: build-runtime
CC: clang
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
needs: setup
name: "runtime_tracing :: ${{ matrix.provider }} provider"
if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'runtime_tracing')
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_linux_x64_clang_byollvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:

jobs:
linux_x64_clang_byollvm:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container: ghcr.io/iree-org/cpubuilder_ubuntu_jammy@sha256:78a558b999b230f7e1da376639e14b44f095f30f1777d6a272ba48c0bbdd4ccb
defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_linux_x64_gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ concurrency:

jobs:
linux_x64_gcc:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
container: ghcr.io/iree-org/cpubuilder_ubuntu_jammy@sha256:78a558b999b230f7e1da376639e14b44f095f30f1777d6a272ba48c0bbdd4ccb
defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:

jobs:
pre-commit:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checking out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oneshot_candidate_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
tag_release:
name: "Tag candidate release"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checking out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgci_test_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ permissions:

jobs:
android_arm64:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PACKAGE_DOWNLOAD_DIR: ${{ github.workspace }}/.packages
VENV_DIR: ${{ github.workspace }}/.venv
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkgci_test_onnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: cpu_llvm_sync
config-file: onnx_ops_cpu_llvm_sync.json
numprocesses: auto
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

# AMD GPU
- name: amdgpu_rocm_rdna3
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
include:
# CPU
- name: cpu_llvm_task
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

# TODO(scotttodd): test other backends (parameterize the test suite)
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgci_test_pjrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
include:
- runner: ubuntu-20.04
- runner: ubuntu-24.04
pjrt_platform: cpu
# TODO: cuda runner is not available yet, refer to #18814
# - runner: some-cuda-available-runner
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgci_test_riscv64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ permissions:

jobs:
riscv64:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PACKAGE_DOWNLOAD_DIR: ${{ github.workspace }}/.packages
VENV_DIR: ${{ github.workspace }}/.venv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgci_test_sharktank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: cpu_task
target: target_cpu
gpu: none
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

- name: hip_task
target: target_hip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgci_test_tensorflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
linux_x86_64:
name: Linux (x86_64)
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PACKAGE_DOWNLOAD_DIR: ${{ github.workspace }}/.packages
VENV_DIR: ${{ github.workspace }}/.venv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkgci_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
linux_x86_64:
name: Linux (x86_64)
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
PACKAGE_DOWNLOAD_DIR: ${{ github.workspace }}/.packages
VENV_DIR: ${{ github.workspace }}/.venv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
if: ${{ github.repository_owner == 'iree-org' || github.event_name == 'workflow_dispatch' }}

# Note: a clean build of `iree-tblgen` takes ~5 minutes on standard runners.
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
CC: clang
CXX: clang++
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ concurrency:

jobs:
colab:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: "Checking out repository"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand All @@ -40,7 +40,7 @@ jobs:
run: ./samples/colab/test_notebooks.py

samples:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
CC: clang
CXX: clang++
Expand All @@ -59,7 +59,7 @@ jobs:
run: ./build_tools/testing/test_samples.sh

web:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
VENV_DIR: ${{ github.workspace }}/.venv
CC: clang
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/schedule_candidate_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
tag_release:
name: "Tag candidate release"
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Checking out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ permissions:

jobs:
setup:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
# The commit being checked out is the merge commit for the PR. Its first
# parent will be the tip of main.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate_and_publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
validate_packages:
name: "Validate packages"
# TODO(jennik): Look into testing windows and macos builds.
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Download packages
id: download_packages
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
publish_release:
name: "Publish release"
needs: validate_packages
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Publish Release
id: publish_release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow_summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ permissions:

jobs:
summary:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Getting failed jobs
id: failed_jobs
Expand Down
Loading