chore(deps): update dependency huggingface_hub to v1.13.0#180
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency huggingface_hub to v1.13.0#180renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
d371cfa to
c217995
Compare
9a71c54 to
7c0eb2a
Compare
7c0eb2a to
2fb4a10
Compare
2fb4a10 to
3533357
Compare
3533357 to
46ae470
Compare
60f1705 to
bd7d79b
Compare
bd7d79b to
735c98b
Compare
735c98b to
f0b9736
Compare
f0b9736 to
21bdb11
Compare
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.
This PR contains the following updates:
==1.4.1→==1.13.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
huggingface/huggingface_hub (huggingface_hub)
v1.13.0: [v1.13.0] new CLI commands and formatting, and HF URI parsingCompare Source
🖥️ New CLI commands: repo cards, file listings, and dataset leaderboards
This release adds three new CLI capabilities for exploring Hub content.
hf models card,hf datasets card, andhf spaces cardfetch the README of any repo and print it to stdout, with--metadata(YAML frontmatter as JSON) and--text(prose only) flags for splitting the card into its structured and unstructured parts. Callinghf models ls <repo_id>,hf datasets ls <repo_id>, orhf spaces ls <repo_id>now switches from listing repos to listing files inside that repo, with--tree,-R,-h, and--revisionoptions mirroring the existinghf buckets lsbehavior. Andhf datasets leaderboard <dataset_id>surfaces model scores submitted to a benchmark dataset, making it easy to compare models by score from the terminal.📚 Documentation: CLI guide
hf datasets leaderboardby @hanouticelina in #4154🚀 Manage Spaces from the CLI
Three new
hf spacessubcommands bring full lifecycle control to the terminal.hf spaces pauseandhf spaces restartstop or rebuild a Space (with--factory-rebootfor a clean rebuild), andhf spaces settingslets you configure sleep time and hardware in one call. A companionhf spaces hardwarecommand lists all available hardware flavors with pricing, so you can discover options before changing settings. Pause and restart include a confirmation prompt (-yto skip) since they tear down the running container.📚 Documentation: CLI guide — Spaces
hf spaces hardwarecommand by @Wauplin in #4169--hardwareflag tohf spaces settingsby @davanstrien in #4163🔃
hf updatereplaces the auto-update promptThe blocking interactive Y/n auto-update prompt at CLI startup is gone. It was catching too many non-interactive contexts (CI runners, Homebrew post-install hooks, Jupyter notebooks) and hanging automation. In its place, a single yellow stderr warning suggests running
hf update— a new command that detects howhfwas installed (Homebrew, standalone installer, or pip) and runs the right upgrade command. SetHF_HUB_DISABLE_UPDATE_CHECK=1to silence the startup check entirely, for example in offline CI.📚 Documentation: CLI guide — Updating
hf update+ drop interactive update prompt by @Wauplin in #4131✏️ Global output formatting for every command
The
--format,--json, and-q/--quietflags are now handled globally by the CLI framework instead of being declared individually on each command. This means everyhfcommand automatically accepts them — no more per-command--formatboilerplate, and the flags are properly documented in a dedicated "Formatting options" section in every--helppage.--format auto(the default) pickshumanfor interactive terminals andagentwhen invoked by an AI agent, making CLI output automatically suitable for both people and tools.📚 Documentation: CLI guide — Output formatting
🔗 Centralized
hf://URI parsingA new
parse_hf_urifunction andHfUridataclass provide a single source of truth for parsinghf://...strings across the library. Whether you reference a model, dataset, space, bucket, or file inside a repo, the parser handles all valid URI shapes — type prefixes, revisions, and paths — and rejects invalid ones with clear error messages. A companionparse_hf_mount/HfMounthandles volume mount specifications (hf://...:/mnt:ro). Both are pure string parsers (no network calls) and round-trippable via.to_uri().📚 Documentation: HF URIs reference
🚀 Bucket transport for Jobs script upload
Local scripts uploaded by
hf jobs uv runare now stored in a{namespace}/jobs-artifactsbucket and mounted into the job container at/datainstead of being base64-encoded into an environment variable. The oldbash -c+xargs+base64 -dpipeline was fragile and required manual shell quoting. Bucket transport is simpler, easier to debug, and supports write-back: jobs can persist output artifacts to/data/since the mount is read-write. The base64 transport path has been fully removed with no fallback.🖥️ CLI
🤖 Inference
📖 Documentation
🐛 Bug and typo fixes
🏗️ Internal
v1.12.2: [v1.12.2] Add DeepInfra support for Inference ProvidersCompare Source
Full Changelog: huggingface/huggingface_hub@v1.12.1...v1.12.2
v1.12.1Compare Source
v1.12.0: [v1.12.0] Unified CLI output, bucket search, and moreCompare Source
🖥️ Unified output format for
hf bucketscommandsAll
hf bucketscommands now use the unified--format [auto|human|agent|json|quiet]flag and theoutsingleton for consistent, scriptable output. The previous--quietand--format table|jsonflags have been replaced by a single--formatoption that works acrosscreate,list,info,delete,rm,move, andcp. Success messages useout.result(), detail views useout.dict(), and listings useout.table()with proper empty-results handling — making the buckets CLI consistent with the rest of thehfcommand suite.📚 Documentation: Buckets guide · CLI guide
🪣 Search buckets by name
You can now filter buckets by name when listing them, both from the Python API and the CLI. Pass
search="checkpoint"tolist_buckets()or--search "checkpoint"tohf buckets listto find buckets matching a name pattern, without having to list and filter client-side.📚 Documentation: Buckets guide · CLI guide
🖥️ CLI
piagent by @hanouticelina in #4125🐛 Bug and typo fixes
🔧 Other QoL Improvements
mainSizetoExpandDatasetProperty_Tby @Wauplin in #4136🏗️ Internal
v1.11.0: [v1.11.0] Semantic Spaces search, Space logs, and moreCompare Source
🔍 Semantic search for Spaces
Discover Spaces using natural language. The new
search_spaces()API andhf spaces searchCLI use embedding-based semantic search to find relevant Spaces based on what they do - not just keyword matching on their name.The same capability is available in the CLI:
hf spacescommand with semantic search by @Wauplin in #4094📜 Programmatic access to Space logs
When a Space fails to build or crashes at runtime, you can now retrieve the logs programmatically — no need to open the browser. This is particularly useful for agentic workflows that need to debug Space failures autonomously.
The CLI equivalent:
fetch_space_logs+hf spaces logscommand by @davanstrien in #4091🖥️ CLI output standardization continues
This release continues the CLI output migration started in v1.9, bringing 11 more command groups to the unified
--formatflag. The old--quietflags on migrated commands are replaced by--format quiet.Confirmation prompts (e.g.,
hf cache rm,hf repos delete,hf buckets delete) are now mode-aware: they prompt in human mode, and require--yesin agent/json/quiet modes - no more hanging scripts.Commands migrated in this release:
collections,discussions,extensions,endpoints,webhooks,cache,repos,repo-files,download,upload, andupload-large-folder. Remaining commands (jobs,buckets,auth login/logout) will follow in a future release.collections,discussions,extensions,endpointsandwebhookstooutsingleton by @hanouticelina in #4057hf cachetooutsingleton by @hanouticelina in #4070out.confirm()and migrate all confirmation prompts by @hanouticelina in #4083reposandrepo-filestooutsingleton + add confirmation tohf repos deleteby @hanouticelina in #4097download,upload,upload-large-foldertooutsingleton by @hanouticelina in #4100📦 Space volumes management from the CLI
A new
hf spaces volumescommand group lets you manage volumes mounted in Spaces directly from the command line — list, set, and delete using the familiar-v/--volumesyntax.hf spaces volumescommands by @Wauplin in #4109🔧 More CLI improvements
hf auth token- Prints the current token to stdout, handy for piping into other commands:hf auth tokencommand by @Wauplin in #4104💔 Breaking change
model_namedeprecated inlist_models- Usesearchinstead. Both were always equivalent (both map to?search=...in the API), but nowmodel_nameemits a deprecation warning. Removal is planned for 2.0.The CLI is not affected -
hf models lsalready uses--search.model_namein favor ofsearchinlist_modelsby @Wauplin in #4112🔧 Other improvements
list_liked_reposby @Wauplin in #4078🐛 Bug fixes
cp -rnesting semantics incopy_filesby @Wauplin in #4081.gitattributeswhen copying repo files to a bucket by @Wauplin in #4082hf_raise_for_statuscausing delayed object destruction by @Wauplin in #4092repo deletetests missing--yesflag by @hanouticelina in #4101📖 Documentation
-v/--volumeaccepts multiple volumes by @davanstrien in #4113🏗️ Internal
v1.10.2: [v1.10.2] Fix reference cycle in hf_raise_for_statusCompare Source
Full Changelog: huggingface/huggingface_hub@v1.10.1...v1.10.2
v1.10.1: [v1.10.1] Fix copy file to folderCompare Source
Full Changelog: huggingface/huggingface_hub@v1.10.0...v1.10.1
v1.10.0: [v1.10.0] Instant file copy and new Kernel repo typeCompare Source
📁 Instant file copy between Buckets and Repositories
This release introduces server-side file copy operations that let you move data between Hugging Face storage without downloading and re-uploading. You can now copy files from one Bucket to another, from a repository (model, dataset, or Space) to a Bucket, or between Buckets — all without bandwidth costs. Files tracked with Xet are copied directly by hash (no data transfer), while small text files not tracked with Xet are automatically downloaded and re-uploaded.
The same capability is available in the CLI:
Note that copying files from a Bucket to a Repository is not yet supported.
📚 Documentation: Buckets guide
HfApi.copy_filesmethod to copy files remotely and update 'hf buckets cp' by @Wauplin in #3874⚛️ Introducing Kernel repositories
The Hub now supports a new
kernelrepository type for hosting compute kernels. This release adds first-class (but explicitly limited) support for interacting with kernel repos via the Python API. Only a subset of methods are officially supported:kernel_info,hf_hub_download,snapshot_download,list_repo_refs,list_repo_files, andlist_repo_tree. Creation and deletion are also supported but restricted to a small subset of allowed users and organizations on the Hub.📚 Documentation: Repository guide
📖 Documentation
🐛 Bug and typo fixes
tqdm_classsilently broken in non-TTY environments by @hanouticelina in #4056🏗️ Internal
v1.9.2: [v1.9.2] Fix set_space_volume / delete_space_volume return typesCompare Source
Full Changelog: huggingface/huggingface_hub@v1.9.1...v1.9.2
v1.9.1: [v1.9.1] Fix:set_space_volumessending bare array instead of objectCompare Source
set_space_volumessending bare array instead of object #4054 by @davanstrienFull Changelog: huggingface/huggingface_hub@v1.9.0...v1.9.1
v1.9.0: [v1.9.0] Agent-Aware CLI, Spaces Volumes, and moreCompare Source
🚀 Spaces Volumes: Mount Models, Datasets, and Buckets Directly
Hugging Face Spaces now support mounting volumes, giving your Space direct filesystem access to models, datasets, and storage buckets. This replaces the deprecated persistent storage feature.
Volumes can also be set at creation time via
create_repo(space_volumes=...)andduplicate_repo(space_volumes=...), and from the CLI with the--volume/-vflag:🤖 The
hfCLI Now Auto-Detects AI Agents and Adapts Its OutputAI coding agents (Claude Code, Cursor, Codex, Copilot, Gemini, ...) increasingly use the
hfCLI to interact with the Hub. Until now, the output was designed for humans - ANSI colors, padded tables, emoji booleans, truncated cells - making it hard for agents to parse reliably.Starting with v1.9, the CLI automatically detects when it's running inside an agent and adapts its output: no ANSI, no truncation, tab-separated tables, compact JSON, full timestamps. No configuration needed - it just works. This is only a first step toward making the
hfCLI the primary entry point to the Hugging Face Hub for AI agents!Agent mode is auto-detected but you can also force a mode explicitly with
--format:Here's what an agent sees compared to a human:
hf auth whoamihf models ls --author google --limit 3hf models info google/gemma-3-27b-itCommands migrated so far:
hf models ls|info,hf datasets ls|info|parquet|sql,hf spaces ls|info,hf papers ls|search|info,hf auth whoami. More commands will be migrated soonoutoutput singleton with agent/human mode rendering by @hanouticelina in #4005models,datasets,spaces,paperstooutsingleton by @hanouticelina in #4026FormatWithAutoOptwith callback to auto-set output mode by @hanouticelina in #4028outoutput singleton by @hanouticelina in #4020🧩 Install Agent Skills from the Hugging Face Marketplace
The
hf skills addcommand now supports installing skills directly from the Hugging Face skills marketplace (https://github.com/huggingface/skills) - pre-built tools that give AI agents new capabilities.hfCLI skill description for better agent triggering by @hanouticelina in #3973🔧 More CLI Improvements
summaryfield tohf papers searchCLI output by @Wauplin in #4006🔧 Other Improvements
HF_HUB_DISABLE_SYMLINKSenv variable to force no-symlink cache by @Wauplin in #4032bool/intcross-type confusion in@strictdataclass validation by @Wauplin in #3992🐛 Bug Fixes
📖 Documentation
CLAUDE.mdsymlink pointing toAGENTS.mdby @hanouticelina in #4013🏗️ Internal
match/casestatements where appropriate by @hanouticelina in #4012tytype-checking errors after latest release by @hanouticelina in #3978v1.8.0: [v1.8.0] Mounted volumes on Jobs, complete papers CLI, and moreCompare Source
🚀 Jobs can now mount volumes
Jobs can now access Hugging Face repositories (models, datasets, Spaces) and Storage Buckets directly as mounted volumes in their containers. This enables powerful workflows like running queries directly against datasets, loading models without explicit downloads, and persisting training checkpoints to buckets.
📖 Papers CLI is now complete
The
hf paperscommand now has full functionality: search papers by keyword, get structured JSON metadata, and read the full paper content as markdown. Thelscommand is also enhanced with new filters for week, month, and submitter.hf paperswith search, info, read + ls filters by @mishig25 in #3952🖥️ CLI repo ID shorthand
You can now use repo ID prefixes like
spaces/user/repo,datasets/user/repo, andmodels/user/repoas a shorthand foruser/repo --type space. This works automatically for all CLI commands that accept a--typeflag.spaces/user/repoas repo ID prefix shorthand by @Wauplin in #3929🔧 More repo visibility options
Repositories can now be created or updated with explicit visibility settings (
--public,--protected) alongside the existing--privateflag. This adds avisibilityparameter toHfApi.create_repo,update_repo_settings, andduplicate_repo, with--protectedavailable for Spaces only.Protected Spaces allow for private code while being publicly accessible.
visibilityparameter toHfApirepo create/update/duplicate methods by @hanouticelina in #3951🖥️ CLI
hf repos createandhf repos duplicateby @Wauplin in #3888--format jsontohf auth whoamiby @hanouticelina in #3938 — docsSKILL.mdby @hanouticelina in #3941SKILL.mdby @hanouticelina in #3955hf extensions installon uv-managed Python by using uv when available by @hanouticelina in #3957🔧 Other QoL Improvements
.envto.venvin virtual environment instructions by @julien-c in #3939 — docs--everyhelp text by @julien-c in #3950hf cpcommand by @Wauplin in #3968🐛 Bug and typo fixes
Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.