Skip to content

Commit 57b024e

Browse files
Reduce CI load, remove unnecessary Namespace actions (tensorzero#3338)
* Reduce CI load * Remove unnecessary Namespace actions * Remove unnecessary Namespace actions * Make building steps 2x8 * Make building steps 2x8 * Revert "Make building steps 2x8" This reverts commit a103af7. * Make test name obvious * Adjust MQ live tests * CH tests 16x32 --------- Co-authored-by: Gabriel Bianconi <[email protected]> Co-authored-by: Aaron Hill <[email protected]>
1 parent c8d685c commit 57b024e

File tree

6 files changed

+8
-23
lines changed

6 files changed

+8
-23
lines changed

.github/workflows/build-gateway-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
build-gateway-container:
8-
runs-on: namespace-profile-tensorzero-32x64;overrides.cache-tag=build-gateway-cache
8+
runs-on: namespace-profile-tensorzero-2x8;overrides.cache-tag=build-gateway-cache
99

1010
steps:
1111
# TODO - investigate why using the Namespace checkout action causes

.github/workflows/build-ui-container.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
build-ui-container:
8-
runs-on: namespace-profile-tensorzero-32x64;overrides.cache-tag=build-ui-cache
8+
runs-on: namespace-profile-tensorzero-2x8;overrides.cache-tag=build-ui-cache
99

1010
steps:
1111
- uses: namespacelabs/nscloud-checkout-action@953fed31a6113cc2347ca69c9d823743c65bc84b

.github/workflows/general.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -179,17 +179,6 @@ jobs:
179179
steps:
180180
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
181181

182-
# We allow the namespace builder setup to fail on Dependabot PRs and PRs from forks
183-
# (where the oidc token is not available)
184-
185-
- name: Install Namespace CLI
186-
uses: namespacelabs/nscloud-setup@d1c625762f7c926a54bd39252efff0705fd11c64
187-
continue-on-error: ${{ github.event.pull_request.head.repo.full_name != github.repository || github.actor == 'dependabot[bot]' }}
188-
189-
- name: Configure Namespace-powered Buildx
190-
uses: namespacelabs/nscloud-setup-buildx-action@84ca8c58fdf372d6a4750476cd09b7b96ee778ca
191-
continue-on-error: ${{ github.event.pull_request.head.repo.full_name != github.repository || github.actor == 'dependabot[bot]' }}
192-
193182
# We deliberately install our MSRV here (rather than 'stable') to ensure that everything compiles with that version
194183
- name: Install Rust 1.86.0
195184
run: |
@@ -404,8 +393,7 @@ jobs:
404393
# We don't run many tests here, so use a normal runner with Github Actions caching
405394
# to avoid unnecessarily using Namespace credits (it should still always finish before
406395
# the main 'validate' job)
407-
# runs-on: ${{ matrix.replicated && 'namespace-profile-tensorzero-32x64' || 'ubuntu-latest' }}
408-
runs-on: namespace-profile-tensorzero-32x64
396+
runs-on: ${{ matrix.replicated && 'namespace-profile-tensorzero-32x64' || 'namespace-profile-tensorzero-16x32' }}
409397
continue-on-error: ${{ matrix.clickhouse_version.allow_failure }}
410398
strategy:
411399
matrix:

.github/workflows/merge-queue.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
live-tests:
5959
name: "live-tests (batch_writes: ${{ matrix.batch_writes }})"
60-
runs-on: namespace-profile-tensorzero-32x64
60+
runs-on: namespace-profile-tensorzero-16x32
6161
permissions:
6262
# Permission to checkout the repository
6363
contents: read
@@ -74,16 +74,13 @@ jobs:
7474
- name: Install gdb
7575
run: sudo apt-get update && sudo apt-get install -y gdb
7676

77-
- name: Warm up modal instances
77+
- name: Warm up Modal instances
7878
run: |
7979
curl -H "Modal-Key: $MODAL_KEY" -H "Modal-Secret: $MODAL_SECRET" https://tensorzero--vllm-inference-vllm-inference.modal.run/docs > vllm_modal_logs.txt &
8080
curl -H "Modal-Key: $MODAL_KEY" -H "Modal-Secret: $MODAL_SECRET" https://tensorzero--sglang-inference-sglang-inference.modal.run/ > sglang_modal_logs.txt &
8181
# TODO: Re-enable once we can switch to a T4 GPU
8282
# curl -H "Modal-Key: $MODAL_KEY" -H "Modal-Secret: $MODAL_SECRET" https://tensorzero--vllm-gpt-oss-20b-serve.modal.run/ > vllm_gpt_oss_modal_logs.txt &
8383
84-
- name: Install Namespace CLI
85-
uses: namespacelabs/nscloud-setup@d1c625762f7c926a54bd39252efff0705fd11c64
86-
8784
- name: Cleanup disk space
8885
run: ./ci/free-disk-space.sh
8986

.github/workflows/slash-command-regen-fixtures.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions:
1717

1818
jobs:
1919
regen-fixtures:
20-
runs-on: namespace-profile-tensorzero-32x64
20+
runs-on: namespace-profile-tensorzero-8x16
2121
steps:
2222
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2323
with:

.github/workflows/ui-tests-e2e-model-inference-cache.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ on:
2121
type: boolean
2222

2323
jobs:
24-
ui-tests-e2e:
25-
runs-on: ${{ inputs.regen_cache && 'namespace-profile-tensorzero-32x64' || 'namespace-profile-tensorzero-16x32' }}
24+
ui-tests-e2e-model-inference-cache:
25+
runs-on: ${{ inputs.regen_cache && 'namespace-profile-tensorzero-8x16' || 'namespace-profile-tensorzero-16x32' }}
2626
# We currently only run this job when we have secrets available, since we need to use an S3 object_store
2727
# In the future, we might want to fix this so that it can run in PR CI for external (forked) PRs
2828
# For now, it just runs in the merge queue and on prs from the main repo

0 commit comments

Comments
 (0)