Jobs: document names and label updates (huggingface_hub v1.24.0)#2653
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PLsT16XBYd5dTHhJvMxpVm
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
julien-c
reviewed
Jul 17, 2026
julien-c
approved these changes
Jul 17, 2026
pcuenca
approved these changes
Jul 18, 2026
Co-authored-by: Julien Chaumond <julien@huggingface.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
huggingface_hub v1.24.0 added optional names for Jobs (release notes, huggingface/huggingface_hub#4532): a
--nameflag onhf jobs run/uv run/scheduled run, and ahf jobs labelscommand to update labels on an existing Job. Names are stored as thenamelabel and shown in the Jobs UI.This PR brings the hub-docs Jobs pages up to date:
jobs-configuration.md: adds a "Name a Job" subsection and an "Update labels" subsection (hf jobs labelswith--label/--name/--clearsemantics) to the existing Labels section; fixes a-label->--labeltypo.jobs-schedule.md: adds a named scheduled job example.All examples were run against v1.24.0 before opening this PR.
🤖 Generated with Claude Code
https://claude.ai/code/session_01PLsT16XBYd5dTHhJvMxpVm
Note
Low Risk
Documentation-only changes with no runtime or security impact.
Overview
Updates the Hub Jobs docs for huggingface_hub v1.24.0 CLI behavior around labels and optional job names.
In
jobs-configuration.md, the Labels section now documents--nameonhf jobs run(stored as thenamelabel, UI grouping, non-unique),hf jobs labelsfor mutating labels on existing jobs (--labelreplaces all labels,--namealone preserves others,--clearremoves all), and fixes a typo (-label→--label).jobs-schedule.mdadds an example forhf jobs scheduled run --nameon recurring jobs.Reviewed by Cursor Bugbot for commit d8aaefb. Bugbot is set up for automated code reviews on this repo. Configure here.