hf Jobs CLI and Python API accept optional names
Introduced 2026-07-17 · score 0.93
HOW TO USE IT
When creating or organizing a Hub Job, add a name to make it easier to find in the UI. Use `--name` when creating or `hf jobs labels` to name an existing Job; names are optional and need not be unique.
hf jobs run --name training-v2 python:3.12 python train.pyhf jobs labels <job_id> --name training-v2hf jobs scheduled run @hourly --name hourly-task python:3.12 python -c 'print("This runs every hour!")'WHY THIS HELPS
When creating or organizing Hub Jobs, assign a name that makes the Job easier to find and identify in the UI.
REQUIREMENTS AND LIMITATIONS
- Version: v1.24.0
- --name TEXT / name: Name the Job; stored as the `name` label. Names need not be unique.
- JOB_ID (`<job_id>`) (required): ID of the existing Job to update.
- SCHEDULE (required): Scheduled run interval; supports `@hourly` and documented cron expressions.
- IMAGE (required): Docker image used by the scheduled Job.
- COMMAND... (required): Command to run in the scheduled Job.
- Prerequisite: You can manage Jobs you own or Jobs in organizations where you have write permission; Jobs are pay-as-you-go.
- Names are optional and do not need to be unique.
FIRST-PARTY EVIDENCE
- https://github.com/huggingface/huggingface_hub/releases/tag/v1.24.0
- https://github.com/huggingface/huggingface_hub/pull/4532
- https://huggingface.co/docs/huggingface_hub/en/guides/cli
- https://huggingface.co/docs/huggingface_hub/en/package_reference/cli
- https://huggingface.co/docs/huggingface_hub/main/en/guides/jobs
Check the installed version and the source before using it. Entry JSON