Commit 33b0639
authored
Build: Bump huggingface-hub from 1.1.4 to 1.2.1 (#2816)
Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub)
from 1.1.4 to 1.2.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/huggingface/huggingface_hub/releases">huggingface-hub's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.1: Smarter Rate Limit Handling, Daily Papers API and more QoL
improvements!</h2>
<h2>🚦 Smarter Rate Limit Handling</h2>
<p>We've improved how the <code>huggingface_hub</code> library handles
rate limits from the Hub. When you hit a rate limit, you'll now see
clear, actionable error messages telling you exactly how long to wait
and how many requests you have left.</p>
<pre lang="console"><code>HfHubHTTPError: 429 Too Many Requests for url:
https://huggingface.co/api/models/username/reponame.
Retry after 55 seconds (0/2500 requests remaining in current 300s
window).
</code></pre>
<p>When a 429 error occurs, the SDK automatically parses the
<code>RateLimit</code> header to extract the exact number of seconds
until the rate limit resets, then waits precisely that duration before
retrying. This applies to file downloads (i.e. Resolvers), uploads, and
paginated Hub API calls (<code>list_models</code>,
<code>list_datasets</code>, <code>list_spaces</code>, etc.).</p>
<p>More info about Hub rate limits in the docs 👉 <a
href="https://huggingface.co/docs/hub/rate-limits#hub-rate-limits">here</a>.</p>
<blockquote>
<ul>
<li>Parse rate limit headers for better 429 error messages by <a
href="https://github.com/hanouticelina"><code>@hanouticelina</code></a>
in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3570">#3570</a></li>
<li>Use rate limit headers for smarter retry in http backoff by <a
href="https://github.com/hanouticelina"><code>@hanouticelina</code></a>
in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3577">#3577</a></li>
<li>Harmonize retry behavior for metadata fetch and
<code>HfFileSystem</code> by <a
href="https://github.com/hanouticelina"><code>@hanouticelina</code></a>
in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3583">#3583</a></li>
<li>Add retry for preupload endpoint by <a
href="https://github.com/hanouticelina"><code>@hanouticelina</code></a>
in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3588">#3588</a></li>
<li>Use default retry values in pagination by <a
href="https://github.com/hanouticelina"><code>@hanouticelina</code></a>
in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3587">#3587</a></li>
</ul>
</blockquote>
<h2>✨ HF API</h2>
<p><strong>Daily Papers endpoint</strong>: You can now programmatically
access Hugging Face's daily papers feed. You can filter by week, month,
or submitter, and sort by publication date or trending.</p>
<pre lang="python"><code>from huggingface_hub import list_daily_papers
<p>for paper in list_daily_papers(date="2025-12-03"):<br />
print(paper.title)</p>
<h1>DeepSeek-V3.2: Pushing the Frontier of Open Large Language
Models</h1>
<h1>ToolOrchestra: Elevating Intelligence via Efficient Model and Tool
Orchestration</h1>
<h1>MultiShotMaster: A Controllable Multi-Shot Video Generation
Framework</h1>
<h1>Deep Research: A Systematic Survey</h1>
<h1>MG-Nav: Dual-Scale Visual Navigation via Sparse Spatial Memory</h1>
<p>...<br />
</code></pre></p>
<blockquote>
<p>Add daily papers endpoint by <a
href="https://github.com/BastienGimbert"><code>@BastienGimbert</code></a>
in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3502">#3502</a>
Add more parameters to daily papers by <a
href="https://github.com/Samoed"><code>@Samoed</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3585">#3585</a></p>
</blockquote>
<p><strong>Offline mode helper</strong>: we recommend using
<code>huggingface_hub.is_offline_mode()</code> to check whether offline
mode is enabled instead of checking <code>HF_HUB_OFFLINE</code>
directly.</p>
<blockquote>
<p>Add <code>offline_mode</code> helper by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3593">#3593</a>
Rename utility to <code>is_offline_mode</code> by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3598">#3598</a></p>
</blockquote>
<p><strong>Inference Endpoints:</strong> You can now configure scaling
metrics and thresholds when deploying endpoints.</p>
<blockquote>
<p>feat(endpoints): scaling metric and threshold by <a
href="https://github.com/oOraph"><code>@oOraph</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3525">#3525</a></p>
</blockquote>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/d0bc91403e88be8c1cceab7111c2198ade134d2c"><code>d0bc914</code></a>
Release: v1.2.1</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/59dd9f5dbb7d4b091a9184a22b136e2045465ec7"><code>59dd9f5</code></a>
Merge branch 'main' into v1.2-release</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/5ad0254ce2ae8491b14f4c0bce132ad1c94a1151"><code>5ad0254</code></a>
Rename utility to is_offline_mode (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3598">#3598</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/231c4cca972ac660c0402b6f4e894ea13d41ae29"><code>231c4cc</code></a>
Release: v1.2.0</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/dc6e7bea51dc13449caa4f451887a2c0162e2f93"><code>dc6e7be</code></a>
Release: v1.2.0.rc0</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/d31c68d84b1e0a1e7a102cdb7a6330444759d2d3"><code>d31c68d</code></a>
use constants.HF_HUB_ETAG_TIMEOUT as timeout for get_hf_file_meta… (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3595">#3595</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/a6a23ac8c8950253861573f4adc6ded1d64e55f6"><code>a6a23ac</code></a>
Add <code>offline_mode</code> helper (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3593">#3593</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/6a8a871c4be7d7f11875bc87270d2d6e315a9d4d"><code>6a8a871</code></a>
Just print server warning without hardcoded client-side addition (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3592">#3592</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/2261b8ed0ce46eeb4cddb1b56e96f18c0760dfd5"><code>2261b8e</code></a>
fix: correct <code>hf login</code> example to <code>hf auth login</code>
(<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3590">#3590</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/96fcc54149bfb93f00b8305801bf0625c14f651b"><code>96fcc54</code></a>
Warn on server warning 'X-HF-Warning' (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3589">#3589</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/huggingface/huggingface_hub/compare/v1.1.4...v1.2.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent aebfa4e commit 33b0639
1 file changed
+3
-3
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments