HubCloneHubClone
← Back to Articles

What's new in the hub CLI: buckets, jobs and faster uploads

Published6 min read▲ 164

The hub CLI has grown from a simple download helper into the fastest way to move models, datasets and artifacts in and out of HubClone. This release focuses on three things people asked for the most: syncing storage buckets, running jobs, and resumable uploads.

Sync a bucket like a folder

Buckets are mutable object storage that live next to your repositories. The new sync command compares local files with the bucket and only transfers what changed, so nightly checkpoints and evaluation logs stay cheap to mirror.

hub buckets sync ./checkpoints my-org/training-runs --delete

Resumable uploads

Large files are now uploaded in content-defined chunks. If your connection drops, the next upload only sends the missing chunks. On a 40 GB checkpoint this turned a flaky two-hour upload into a series of short retries.

Chunking is automatic: there is nothing to configure, and older clients keep working against the same repositories.

Jobs from the terminal

You can submit a training or evaluation job, follow its logs and cancel it, all without leaving the shell. Jobs run on the hardware profiles your organization has enabled.

hub jobs run --hardware gpu-server --image python:3.12 python train.py
Open SourceGuides