From 810e1ec200588f332ce1b95c13a759908bcf1d35 Mon Sep 17 00:00:00 2001 From: Alex Norell Date: Sun, 11 Oct 2026 00:12:28 -0700 Subject: [PATCH 1/2] Right-size the CPU package install tests The SDK and CLI install tests only need the inference-sdk and inference-cli wheels, so build those with the existing create_inference_cli_whl target instead of create_wheels, which also installs the full inference requirements (including torch) only to build wheels that these jobs never use. With that gone, both jobs do little work and move to the small runner. The inference and inference-with-extras install tests are mostly pip downloads and single-threaded wheel builds, so move them from 8 to 4 cores. --- .github/workflows/test_package_install_inference.yml | 2 +- .github/workflows/test_package_install_inference_cli.yml | 4 ++-- .github/workflows/test_package_install_inference_sdk.yml | 4 ++-- .../workflows/test_package_install_inference_with_extras.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_package_install_inference.yml b/.github/workflows/test_package_install_inference.yml index c7faf0fda2..fc2d894f83 100644 --- a/.github/workflows/test_package_install_inference.yml +++ b/.github/workflows/test_package_install_inference.yml @@ -25,7 +25,7 @@ jobs: needs: call_is_mergeable if: ${{ github.event_name != 'pull_request' || needs.call_is_mergeable.outputs.mergeable_state != 'not_clean' }} runs-on: - labels: depot-ubuntu-22.04-8 + labels: depot-ubuntu-22.04-4 group: public-depot timeout-minutes: 10 strategy: diff --git a/.github/workflows/test_package_install_inference_cli.yml b/.github/workflows/test_package_install_inference_cli.yml index 639d915b9c..52d361f39d 100644 --- a/.github/workflows/test_package_install_inference_cli.yml +++ b/.github/workflows/test_package_install_inference_cli.yml @@ -25,7 +25,7 @@ jobs: needs: call_is_mergeable if: ${{ github.event_name != 'pull_request' || needs.call_is_mergeable.outputs.mergeable_state != 'not_clean' }} runs-on: - labels: depot-ubuntu-22.04-8 + labels: depot-ubuntu-22.04-small group: public-depot timeout-minutes: 10 strategy: @@ -40,7 +40,7 @@ jobs: python-version: "3.10" - name: 🛞 Create Wheels run: | - make create_wheels + make create_inference_cli_whl - name: 🐍 Set up Python ${{ matrix.python-version }} to test package install process uses: actions/setup-python@v6 with: diff --git a/.github/workflows/test_package_install_inference_sdk.yml b/.github/workflows/test_package_install_inference_sdk.yml index 43ceb3204a..33e9e62911 100644 --- a/.github/workflows/test_package_install_inference_sdk.yml +++ b/.github/workflows/test_package_install_inference_sdk.yml @@ -25,7 +25,7 @@ jobs: needs: call_is_mergeable if: ${{ github.event_name != 'pull_request' || needs.call_is_mergeable.outputs.mergeable_state != 'not_clean' }} runs-on: - labels: depot-ubuntu-22.04-8 + labels: depot-ubuntu-22.04-small group: public-depot timeout-minutes: 10 strategy: @@ -40,7 +40,7 @@ jobs: python-version: "3.10" - name: 🛞 Create Wheels run: | - make create_wheels + make create_inference_cli_whl - name: 🐍 Set up Python ${{ matrix.python-version }} to test package install process uses: actions/setup-python@v6 with: diff --git a/.github/workflows/test_package_install_inference_with_extras.yml b/.github/workflows/test_package_install_inference_with_extras.yml index 35f01c9f9e..ed0df61d31 100644 --- a/.github/workflows/test_package_install_inference_with_extras.yml +++ b/.github/workflows/test_package_install_inference_with_extras.yml @@ -25,7 +25,7 @@ jobs: needs: call_is_mergeable if: ${{ github.event_name != 'pull_request' || needs.call_is_mergeable.outputs.mergeable_state != 'not_clean' }} runs-on: - labels: depot-ubuntu-22.04-8 + labels: depot-ubuntu-22.04-4 group: public-depot timeout-minutes: 35 strategy: From bd032b1ab626e349dd4b2ecdbafc721a1d6a515a Mon Sep 17 00:00:00 2001 From: Alex Norell Date: Sun, 11 Oct 2026 00:17:17 -0700 Subject: [PATCH 2/2] Build docs on the small runner The docs site is now a landing page plus redirects. The job installs a few packages and the build itself takes under a second, so a 32-core runner is not needed. --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d1283d3340..27f4560a06 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,7 +31,7 @@ concurrency: jobs: build: - runs-on: depot-ubuntu-22.04-32 + runs-on: depot-ubuntu-22.04-small timeout-minutes: 20 permissions: contents: write