When an AI project tests across many hardware backends, CI can spend time waiting for runners or rebuilding unchanged code. The llama.cpp maintainers describe how they changed that workflow.
In their November 16 account, the team says a full CI run has more than 100 jobs. Compiler caches for multiple backend builds exceeded the project's GitHub Actions cache allocation, while its free-plan runner concurrency meant jobs queued. They selected pull-request jobs based on the diff, kept the full set for pushes to master, moved non-release compiler cache snapshots to Hugging Face Buckets, and offloaded many Linux x64 jobs to Hugging Face Jobs. Eligible master builds update the cache; PR builds read that baseline.
For maintainers facing similar queues, try this on a bounded set of jobs: record cache hits, queue time, total build time, failures and compute and storage charges against the current setup. Compare the selected PR checks with the full suite to identify coverage gaps, and keep an escalation path for changes that affect multiple backends. This is a proposed evaluation, not a measured result from the report.
The account does not quantify a speedup or establish savings for another project. External runners and shared caches add dependencies and need access, credential and cache integrity review; Jobs are billed for instance uptime. Test untrusted contributions under appropriate isolation and verify your own plan limits before changing CI.
Source: https://huggingface.co/blog/ggml-org/llama-cpp-ci-buckets