Skip to content

Bump huggingface-hub from 1.31.0 to 2.1.1 in the python-major group across 1 directory - #21

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-major-79d03a1eb8
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-major-79d03a1eb8

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps the python-major group with 1 update in the / directory: huggingface-hub.

Updates huggingface-hub from 1.31.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 @github

dependabot Bot commented on behalf of github Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Major version update — merging is left to a human.

Bumps the python-major group with 1 update in the / directory: [huggingface-hub](https://github.com/huggingface/huggingface_hub).


Updates `huggingface-hub` from 1.31.0 to 2.1.1
- [Release notes](https://github.com/huggingface/huggingface_hub/releases)
- [Commits](huggingface/huggingface_hub@v1.31.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
  dependency-group: python-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump huggingface-hub from 1.31.0 to 2.1.1 in the python-major group Bump huggingface-hub from 1.31.0 to 2.1.1 in the python-major group across 1 directory Oct 5, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/python-major-79d03a1eb8 branch from c2a8ac6 to 1354a00 Compare October 5, 2026 05:24
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Major version update — merging is left to a human.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants