From 709390b2efd703e3706730a28856f7e0058497ff Mon Sep 17 00:00:00 2001 From: Samuel Reeder Date: Thu, 3 Sep 2026 20:32:41 +0000 Subject: [PATCH 1/2] ci: switch check-deserialize to aws-linux-scale-rocm-small Drops the ubuntu-24.04 disk-cleanup hack and 'docker system prune -af' (the latter can affect other users/jobs sharing the runner's docker state). aws-linux-scale-rocm-small -- already used by every other GPU-adjacent job in this repo (bandit, codeql, gitleaks, sbom) -- has enough disk space for the ~13 GB rocm-sdk-devel unpack without either. Addresses review comments from tvy-amd on #41. --- .github/workflows/check-deserialize.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check-deserialize.yml b/.github/workflows/check-deserialize.yml index a8a546d..318eee7 100644 --- a/.github/workflows/check-deserialize.yml +++ b/.github/workflows/check-deserialize.yml @@ -23,18 +23,13 @@ permissions: jobs: check-deserialize: - runs-on: ubuntu-24.04 + # rocm-sdk-devel unpacks to ~13 GB; aws-linux-scale-rocm-small (used by + # every other GPU-adjacent job in this repo) has enough disk space for + # that, unlike the default ubuntu-24.04 runners -- no disk cleanup or + # docker prune needed here. + runs-on: aws-linux-scale-rocm-small timeout-minutes: 180 steps: - # rocm-sdk-devel unpacks to ~13 GB, same as the `rocm-build` job in - # setup.yml. No submodules: setup_env.py fetches prebuilt ROCm SDK - # wheels, it never builds against the rocm-libraries submodule source. - - name: Free disk space - run: | - sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc \ - /usr/local/.ghcup || true - docker system prune -af || true - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false From 02e715d0dd85da2d834f60a9c684e82d02e31a2e Mon Sep 17 00:00:00 2001 From: Samuel Reeder Date: Thu, 3 Sep 2026 21:09:08 +0000 Subject: [PATCH 2/2] ci: drop stale disk-space comment on check-deserialize --- .github/workflows/check-deserialize.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/check-deserialize.yml b/.github/workflows/check-deserialize.yml index 318eee7..4970bad 100644 --- a/.github/workflows/check-deserialize.yml +++ b/.github/workflows/check-deserialize.yml @@ -23,10 +23,6 @@ permissions: jobs: check-deserialize: - # rocm-sdk-devel unpacks to ~13 GB; aws-linux-scale-rocm-small (used by - # every other GPU-adjacent job in this repo) has enough disk space for - # that, unlike the default ubuntu-24.04 runners -- no disk cleanup or - # docker prune needed here. runs-on: aws-linux-scale-rocm-small timeout-minutes: 180 steps: