Update dependency huggingface_hub to v0.28.1 #48
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:
==0.27.0
->==0.28.1
Release Notes
huggingface/huggingface_hub (huggingface_hub)
v0.28.1
: : FIX path inHF_ENDPOINT
discardedCompare Source
Release 0.28.0 introduced a bug making it impossible to set a
HF_ENDPOINT
env variable with a value with a subpath. This has been fixed in https://github.com/huggingface/huggingface_hub/pull/2807.Full Changelog: huggingface/huggingface_hub@v0.28.0...v0.28.1
v0.28.0
: [v0.28.0]: Third-party Inference Providers on the Hub & multiple quality of life improvements and bug fixesCompare Source
⚡️Unified Inference Across Multiple Inference Providers
The
InferenceClient
now supports third-party providers, offering a unified interface to run inference across multiple services while leveraging models from the Hugging Face Hub. This update enables developers to:A list of supported third-party providers can be found here.
Example of text-to-image inference with Replicate:
Another example of chat completion with Together AI:
When using external providers, you can choose between two access modes: either use the provider's native API key, as shown in the examples above, or route calls through Hugging Face infrastructure (billed to your HF account):
🔜 New providers/models/tasks will be added iteratively in the future.
👉 You can find a list of supported tasks per provider and more details here.
✨ HfApi
The following change aligns the client with server-side updates by adding new repositories properties:
usedStorage
andresourceGroup
.Extends empty commit prevention to file copy operations, preserving clean version histories when no changes are made.
🌐 📚 Documentation
Thanks to @WizKnight, the hindi translation is much better!
💔 Breaking changes
The
like
endpoint has been removed to prevent misuse. You can still remove existing likes using theunlike
endpoint.🛠️ Small fixes and maintenance
😌 QoL improvements
chat_completion()
'slogit_bias
as UNUSED by @hanouticelina in #2724py.typed
to be compliant with PEP-561 again by @hanouticelina in #2752🐛 Bug and typo fixes
typing.get_type_hints
call on aModelHubMixin
by @aliberts in #2729CardData.get()
to respect default values whenNone
by @hanouticelina in #2770🏗️ internal
RepoCard
test on Windows by @hanouticelina in #2774v0.27.1
: [v0.27.1]: Fixtyping.get_type_hints
call on aModelHubMixin
Compare Source
Full Changelog: huggingface/huggingface_hub@v0.27.0...v0.27.1
See #2729 for more details.
Configuration
📅 Schedule: Branch creation - "after 5am on saturday" (UTC), Automerge - At any time (no schedule defined).
🚦 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.
To execute skipped test pipelines write comment
/ok-to-test
.This PR has been generated by MintMaker (powered by Renovate Bot).