π₯οΈ hf jobs scheduled ls can now filter by status, label and name
You can now filter scheduled jobs with --status (active/suspended), repeatable -l/--label key=value and --name (a shortcut for --label name=NAME), matching the flags hf jobs ls already had. On the Python side, HfApi.list_scheduled_jobs gains a labels argument.
Warning
-f/--filter on hf jobs scheduled ls is deprecated and no longer applied: it is accepted but ignored, with a warning pointing to the new flags. Migrate as shown below. The option itself will be removed in a future release.
hf jobs scheduled ls --all
hf jobs scheduled ls --status suspended
hf jobs scheduled ls --name hourly-task --label env=prod| before | after |
|---|---|
-f name=daily-report |
--name daily-report |
-f env=prod |
--label env=prod |
-f suspend!=true |
(default, or --status active) |
-f suspend=true |
--status suspended |
π Documentation: Jobs guide
- Align
hf jobs scheduled lsfiltering withhf jobs ls(--status/--label/--name) by @moon-bot-app[bot] in #4773
π ResolvedRevision now pins the repo it was resolved for
ResolvedRevision didn't record which repo a commit hash was resolved against, so resolving "main" on two different repos returned the same commit oid. It now remembers its repo_id and repo_type: passed back for the same repo it is returned as is, for a different repo the requested revision is resolved again.
>>> from huggingface_hub import resolve_revision
>>> revision = resolve_revision("openai-community/gpt2")
# Same repo => returned as is
>>> resolve_revision("openai-community/gpt2", revision=revision) is revision
True
# Another repo => "main" is resolved again for that repo
>>> resolve_revision("openai-community/gpt2-medium", revision=revision).resolved
'6dcaa7a952f72f9298047fd5137cd6e4f05f41da'π Documentation: Manage cache β Pin a revision
π€ Inference
- Do not require the
conversationaltag for chat-completion on hf-inference: any model with pipeline tagtext-generationorimage-text-to-textcan now be served, mirroring the updated provider-side rules by @hanouticelina in #4784
π Bug and typo fixes
- [Download] Follow redirects between Hub hosts when resolving files, instead of failing with a misleading connection error (redirects to CDNs are still not followed, so LFS metadata is preserved and
Authorizationis never forwarded off-Hub) by @hanouticelina in #4739
π Documentation
- [Sandbox] Mark the Sandbox API as experimental across docstrings, guides, package reference and CLI help, and clarify that shared sandboxes are intended for workloads within the same trust boundary by @Wauplin in #4783
ποΈ Internal
- [Release] Refresh OpenCode model cache (
opencode models --refresh) before validatingRELEASE_NOTES_MODEL, fixing release CI failures on cold runners by @Wauplin in #4761 - [Release] Consolidate the HF CLI skill sync into the release workflow, removing the duplicate standalone sync workflow that opened two PRs on
huggingface/skillsper release by @hanouticelina in #4765 - [CI] The close-unscoped-community-prs workflow stays available for manual runs only: enforcement was enabled and then disabled again within this release by @hanouticelina and @Wauplin in #4766, #4800
- [CI] Fix torch_1.11 case-arm label to match the renamed matrix entry, restoring torch installation on that lane by @MohammedAlkindi in #4776
- Post-release: bump version to 1.30.0.dev0 by @huggingface-hub-bot[bot] in #4763