-
Notifications
You must be signed in to change notification settings - Fork 393
Commit 847eb54
authored
Build: Bump huggingface-hub from 1.0.1 to 1.1.2 (#2716)
Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub)
from 1.0.1 to 1.1.2.
<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.1.0: Faster Downloads, new CLI features and more!</h2>
<h2>🚀 Optimized Download Experience</h2>
<p>⚡ This release significantly improves the file download experience by
making it faster and cleaning up the terminal output.</p>
<p><code>snapshot_download</code> is now <strong>always
multi-threaded</strong>, leading to significant performance gains. We
removed a previous limitation, as Xet's internal resource management
ensures we can parallelize downloads safely without resource contention.
A sample benchmark showed this made the download much faster!</p>
<p>Additionally, the output for <code>snapshot_download</code> and
<code>hf download</code> CLI is now much less verbose. Per file logs are
hidden by default, and all individual progress bars are combined into a
single progress bar, resulting in a much cleaner output.</p>
<p><img
src="https://github.com/user-attachments/assets/1546cbee-64c8-48ff-8304-f48e9bc91446"
alt="download_2" /></p>
<ul>
<li>Multi-threaded snapshot download by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3522">#3522</a></li>
<li>Compact output in <code>snapshot_download</code> and <code>hf
download</code> by <a
href="https://github.com/Wauplin"><code>@Wauplin</code></a> in <a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3523">#3523</a></li>
</ul>
<h2>Inference Providers</h2>
<p>🆕 <a href="https://wavespeed.ai">WaveSpeedAI</a> is now an official
<a
href="https://huggingface.co/docs/inference-providers/en/index">Inference
Provider</a> on Hugging Face! 🎉 <a
href="https://wavespeed.ai/">WaveSpeedAI</a> provides fast, scalable,
and cost-effective model serving for creative AI applications,
supporting <code>text-to-image</code>, <code>image-to-image</code>,
<code>text-to-video</code>, and <code>image-to-video</code> tasks. 🎨</p>
<pre lang="python"><code>import os
from huggingface_hub import InferenceClient
<p>client = InferenceClient(
provider="wavespeed",
api_key=os.environ["HF_TOKEN"],
)</p>
<p>video = client.text_to_video(
"A cat riding a bike",
model="Wan-AI/Wan2.2-TI2V-5B",
)
</code></pre></p>
<p>More snippets examples in the provider documentation 👉 <a
href="https://huggingface.co/docs/inference-providers/en/providers/wavespeed">here</a>.</p>
<p>We also added support for <code>image-segmentation</code> task for <a
href="https://huggingface.co/docs/inference-providers/en/providers/fal-ai">fal</a>,
enabling state-of-the-art background removal with <a
href="https://huggingface.co/briaai/RMBG-2.0">RMBG v2.0</a>.</p>
<pre lang="python"><code>import os
from huggingface_hub import InferenceClient
<p>client = InferenceClient(
provider="fal-ai",
api_key=os.environ["HF_TOKEN"],
)</p>
<p>output = client.image_segmentation("cats.jpg",
model="briaai/RMBG-2.0")
</tr></table>
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/31bccf5ec9f56037039a10adc38cb0b16d6a5619"><code>31bccf5</code></a>
Release: v1.1.2</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/253734300d6e427383c3814264d83f91f8a772cf"><code>2537343</code></a>
Make 'name' optional in catalog deploy (<a
href="https://redirect.github.com/huggingface/huggingface_hub/issues/3529">#3529</a>)</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/b46a343bd27c1a036f77bc7ef05341496befe085"><code>b46a343</code></a>
Release: v1.1.1</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/79db09a52437bb813335d272acc96ac7668a3854"><code>79db09a</code></a>
Release: v1.1.0</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/bd6ee627f1eeb1fe94f327aafc4c554d88181835"><code>bd6ee62</code></a>
Release: v1.1.0.rc2</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/17aca66a2638bd514ce82b37a9f8c64e2cf69b2e"><code>17aca66</code></a>
update prerelease workflow to match >= and == patterns for hfh
dep</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/0fb0fc8b1970f7ecc4d3d15deb9acc923b695816"><code>0fb0fc8</code></a>
Release: v1.1.0.rc1</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/d78aae29bd7f93b764d1811e182a7959033a17fd"><code>d78aae2</code></a>
rename python-release-hf workflow name</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/ace30daddde18c025b5aa874b28fac649d4dce57"><code>ace30da</code></a>
update checkout action version</li>
<li><a
href="https://github.com/huggingface/huggingface_hub/commit/9fe26d9422776ec8be628a8b487ea9b876009024"><code>9fe26d9</code></a>
update setup-python action version</li>
<li>Additional commits viewable in <a
href="https://github.com/huggingface/huggingface_hub/compare/v1.0.1...v1.1.2">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 6dbc9da commit 847eb54Copy full SHA for 847eb54
File tree
Expand file treeCollapse file tree
1 file changed
+7
-7
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+7
-7
lines changedOpen diff view settings
Collapse file
+7-7Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments