Skip to content

chore(deps): bump huggingface-hub from 1.33.0 to 2.1.1 - #821

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/huggingface-hub-2.1.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/huggingface-hub-2.1.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Bumps huggingface-hub from 1.33.0 to 2.1.1.

Release notes

Sourced from huggingface-hub's releases.

v2.1.1

[CLI] Rename 'hf spaces zero-gpu-quota' to 'hf spaces zero-gpu quota'- #5055

Full Changelog: huggingface/huggingface_hub@v2.1.0...v2.1.1

[v2.1.0] Better Jobs tooling, ZeroGPU quota tracking, and revamped Model Catalog

📊 Jobs: retries, rescheduling, and port exposure

Hugging Face Jobs get a batch of quality-of-life improvements this release. Jobs can now retry automatically on failure with the new attempts parameter, and you can start a fresh Job from an existing Job's saved spec (including secrets and hardware settings) with rerun_job / hf jobs rerun. Scheduled Jobs can be rescheduled — change the cron expression or preset without recreating the Job — via update_scheduled_job_schedule / hf jobs scheduled reschedule. Finally, you can now expose ports on Jobs: use expose for token-protected access and expose_public for unauthenticated access, both at creation time and on a running Job with update_job_expose / hf jobs expose.

# Retry a job up to 2 times on failure, and rerun it later from its saved spec
>>> hf jobs run --attempts 3 --detach python:3.12 python train.py
>>> hf jobs rerun <job_id>
Reschedule a scheduled job to run every day at 9:00
>>> hf jobs scheduled reschedule <scheduled_job_id> "0 9 * * 1"
Expose ports on a running Job (8000 token-protected, 9000 public)
>>> hf jobs expose <job_id> 8000 --public 9000

📚 Documentation: Jobs guide

🤗 Track your ZeroGPU quota

The Hub now exposes a ZeroGPU quota endpoint, and huggingface_hub wraps it with a new HfApi.get_zero_gpu_quota() method returning a ZeroGpuQuota dataclass (values in GPU-seconds). This is particularly useful for apps, MCP servers and agents built on top of ZeroGPU Spaces: check how much quota is left and when it resets, and warn your users before they hit the daily limit. The same information is available from the CLI with hf spaces zero-gpu-quota, which also prints a hint to purchase credits when the quota is running low.

>>> from huggingface_hub import get_zero_gpu_quota
>>> quota = get_zero_gpu_quota()
ZeroGpuQuota(base=2400, remaining=1810, resets_at=datetime.datetime(2026, 9, 30, 9, 12, 3, tzinfo=datetime.timezone.utc), overquota_used=0)
>>> hf spaces zero-gpu quota
✓ ZeroGPU quota (in GPU-seconds)
  remaining: 1810
  base: 2400
  resets_at: 2026-09-30T18:12:03+00:00
  overquota_used: 0
  • [Spaces] Add get_zero_gpu_quota and hf spaces zero-gpu-quota by @​Wauplin in #5040
  • [CLI] Rename 'hf spaces zero-gpu-quota' to 'hf spaces zero-gpu quota'- #5055 [Shipped as part of v2.1.1]

... (truncated)

Commits
  • bd4a760 Release: v2.1.1
  • cb1755f [CLI] Rename 'hf spaces zero-gpu-quota' to 'hf spaces zero-gpu quota' (#5055)
  • 43372b6 Release: v2.1.0
  • efa122c Release: v2.1.0.rc0
  • 0b26b50 [Spaces] Add get_zero_gpu_quota and hf spaces zero-gpu-quota (#5040)
  • 604252e [HfApi] Add visibility to create_bucket (#5053)
  • 4c88ea6 [Repos] Warn when duplicated repo files are still being copied (#5041)
  • 3bb08e2 [Endpoints] Migrate catalog to the new /api/v1 API (#4928)
  • b5e3a12 [HfApi] Support resource_group_id in duplicate_repo (#5038)
  • 60fdb08 [Docs] Fix duplicated words in docstring and comments (#5052)
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from joein as a code owner October 15, 2026 13:05
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Oct 15, 2026
Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub) from 1.33.0 to 2.1.1.
- [Release notes](https://github.com/huggingface/huggingface_hub/releases)
- [Commits](huggingface/huggingface_hub@v1.33.0...v2.1.1)

---
updated-dependencies:
- dependency-name: huggingface-hub
  dependency-version: 2.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/uv/huggingface-hub-2.1.1 branch from 61717b5 to 465cc98 Compare October 15, 2026 13:11

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants