Bump huggingface-hub from 0.30.2 to 0.31.4 in /.github/actions/download-models
Bumps huggingface-hub from 0.30.2 to 0.31.4.
Release notes
Sourced from huggingface-hub's releases.
[v0.31.4]: strict dataclasses, support
DTensorsaving & some bug fixesThis release includes some new features and bug fixes:
- New
strictdecorators for runtime dataclass validation with custom and type-based checks. by@Wauplinin huggingface/huggingface_hub#2895.- Added
DTensorsupport to_get_unique_id/get_torch_storage_sizehelpers, enablingtransformersto usesave_pretrainedwithDTensor. by@S1ro1in huggingface/huggingface_hub#3042.- Some bug fixes: huggingface/huggingface_hub#3080 & huggingface/huggingface_hub#3076.
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.31.2...v0.31.4
[v0.31.2] Hot-fix: make
hf-xetoptional again and bump the min version of the packagePatch release to make
hf-xetoptional. More context in #3079 and #3078.Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.31.1...v0.31.2
[v0.31.0] LoRAs with Inference Providers,
automode for provider selection, embeddings models and more🧑🎨 Introducing LoRAs with fal.ai and Replicate providers
We're introducing blazingly fast LoRA inference powered by fal.ai and Replicate through Hugging Face Inference Providers! You can use any compatible LoRA available on the Hugging Face Hub and get generations at lightning fast speed ⚡
from huggingface_hub import InferenceClientclient = InferenceClient(provider="fal-ai") # or provider="replicate"
output is a PIL.Image object
image = client.text_to_image( "a boy and a girl looking out of a window with a cat perched on the window sill. There is a bicycle parked in front of them and a plant with flowers to the right side of the image. The wall behind them is visible in the background.", model="openfree/flux-chatgpt-ghibli-lora", )
- [Inference Providers] LoRAs with Replicate by
@hanouticelinain #3054- [Inference Providers] Support for LoRAs with fal by
@hanouticelinain #3005⚙️
automode for provider selectionYou can now automatically select a provider for a model using
automode — it will pick the first available provider based on your preferred order set in https://hf.co/settings/inference-providers.from huggingface_hub import InferenceClientwill select the first provider available for the model, sorted by your order.
client = InferenceClient(provider="auto")
completion = client.chat.completions.create( model="Qwen/Qwen3-235B-A22B", messages=[ { </tr></table>
... (truncated)
Commits
2f4ee4bRelease: v0.31.486ab658Release: v0.31.34c28652New@strictdecorator for dataclass validation (#2895)f59601fFeat: support DTensor when saving (#3042)7fde08d[Inference Endpoints] fix inference endpoint creation with custom image (#3076)68475be[HfFileSystem] Fix end-of-fileread()(#3080)2e5dc96Release: v0.31.2d1de0aa[Internal] makehf-xetoptional (#3079)080b047bump hf-xet min version (#3078)13a3991Release: v0.31.1- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)