Commit 22e2879
CI: run the GPU build legs on demand only (#7)
Nothing this workflow builds ships. Our prebuilts come from
unsloth-sd-prebuilt.yml, which is CPU and Apple only by design because GPU
hosts run diffusers/torch. No release here has ever carried a CUDA, ROCm or
Vulkan asset, and build.yml's own release job fails on every push with
"Resource not accessible by integration", so it has never published anything.
Even a forced native GPU load does not use these: install_sd_cpp_prebuilt.py
falls back to leejet upstream when our mirror cannot serve the host.
Measured on run 31238801839, the GPU legs are 561 of 658 minutes, 85% of the
run, and they are the source of the multi-GB artifacts that were filling
Actions storage.
Gated to workflow_dispatch: ubuntu-latest-cmake-vulkan, windows-latest-rocm,
ubuntu-latest-rocm, the container images job, and the cuda12 and vulkan entries
of windows-latest-cmake. What still runs on push and PR is the compile smoke
signal worth keeping: ubuntu-latest-cmake, macOS-latest-cmake and windows CPU,
about 29 minutes.
The matrix entries cannot take a job-level if, so that one uses a fromJSON
ternary. Verified both branches parse back to the original entries with the
defines byte-identical, and that the file is otherwise unchanged outside the
five gates.
Side effect worth knowing: release needs the gated jobs, so on a master push it
now skips instead of failing. It has never succeeded here, so this removes a
standing red X rather than losing a capability. Reverting any single gate
restores the old behaviour for that leg.
Co-authored-by: danielhanchen <unslothshared@gmail.com>1 parent d9ad778 commit 22e2879
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | | - | |
| 184 | + | |
184 | 185 | | |
185 | 186 | | |
186 | 187 | | |
| |||
341 | 342 | | |
342 | 343 | | |
343 | 344 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
351 | 349 | | |
352 | 350 | | |
353 | 351 | | |
| |||
446 | 444 | | |
447 | 445 | | |
448 | 446 | | |
| 447 | + | |
449 | 448 | | |
450 | 449 | | |
451 | 450 | | |
| |||
577 | 576 | | |
578 | 577 | | |
579 | 578 | | |
| 579 | + | |
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| |||
0 commit comments