Skip to content

Commit ece88de

Browse files
davide221wozcode
andcommitted
ci: run self-hosted GPU jobs without waiting for the hosted CPU build
The RTX 3090 / Radeon gfx1151 jobs finish in ~2 minutes on real hardware but were gated on the ~18-minute GitHub-hosted cmake+megakernel build, so the strongest CI signal arrived last and was invisible in the checks list until the cloud build completed. Gate them on the 1-minute uv-workspace sanity check only; both jobs compile the tree themselves and fail just as fast on broken code. Co-Authored-By: WOZCODE <contact@withwoz.com>
1 parent 1da3fa6 commit ece88de

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ jobs:
123123
if: >-
124124
github.event_name == 'workflow_dispatch' ||
125125
github.event.pull_request.head.repo.full_name == github.repository
126-
needs: [uv-workspace, build]
126+
# Gate only on the 1-minute workspace check, NOT the ~18-minute hosted
127+
# CPU build: the GPU job compiles the same tree itself in ~2 minutes on
128+
# real hardware, so serializing it behind the cloud build only delayed
129+
# the strongest signal this CI produces.
130+
needs: [uv-workspace]
127131
runs-on: [self-hosted, gpu, sm86]
128132
timeout-minutes: 30
129133
# The box has a single physical GPU: serialize GPU jobs across PRs instead
@@ -191,7 +195,11 @@ jobs:
191195
if: >-
192196
github.event_name == 'workflow_dispatch' ||
193197
github.event.pull_request.head.repo.full_name == github.repository
194-
needs: [uv-workspace, build]
198+
# Gate only on the 1-minute workspace check, NOT the ~18-minute hosted
199+
# CPU build: the GPU job compiles the same tree itself in ~2 minutes on
200+
# real hardware, so serializing it behind the cloud build only delayed
201+
# the strongest signal this CI produces.
202+
needs: [uv-workspace]
195203
runs-on: [self-hosted, rocm, gfx1151]
196204
timeout-minutes: 20
197205
# Same single box as gpu-tests: serialize GPU jobs across PRs.

0 commit comments

Comments
 (0)