TLDRocket
Sign in

Migrating Your GitHub CI to Hugging Face Jobs

Hugging Face

Trackio migrated its GitHub Actions CI pipeline to run on Hugging Face Jobs, a serverless infrastructure service that supports arbitrary hardware including GPUs. The migration reduced CPU job runtime from 1m40s to 1m10s (30% faster) and enabled GPU tests to complete in 45 seconds on a t4-small machine at minimal cost. The setup requires duplicating a dispatcher Space, creating a GitHub App, and changing the `runs-on` label in workflows from `ubuntu-latest` to labels like `hf-jobs-cpu-upgrade` or `hf-jobs-t4-small`.

Related stories

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.