Skip to content

[StableDiffusion] Pin huggingface_hub to 0.25.2 due to breaking changes in 0.26.0#22508

Merged
yf711 merged 1 commit intomainfrom
adrianl/SD-big-model-pin-huggingface_hub_version
Oct 19, 2024
Merged

[StableDiffusion] Pin huggingface_hub to 0.25.2 due to breaking changes in 0.26.0#22508
yf711 merged 1 commit intomainfrom
adrianl/SD-big-model-pin-huggingface_hub_version

Conversation

@adrianlizarraga
Copy link
Copy Markdown
Contributor

@adrianlizarraga adrianlizarraga commented Oct 18, 2024

Description

Pin huggingface_hub to 0.25.2 due to breaking changes in 0.26.0.

Motivation and Context

We depend on diffusers==0.28.0, which depends on huggingface_hub>=0.20.2. There are breaking changes with the latest huggingface_hub 0.26.0 release that break our Big Models pipeline:
Release v0.26.0: Multi-tokens support, conversational VLMs and quality of life improvements · huggingface/huggingface_hub

Specifically, the breaking changes to cached_download() cause our pipeline to fail.
image

@adrianlizarraga adrianlizarraga marked this pull request as ready for review October 18, 2024 23:26
Copy link
Copy Markdown
Contributor

@tianleiwu tianleiwu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@yf711 yf711 merged commit abad69b into main Oct 19, 2024
@yf711 yf711 deleted the adrianl/SD-big-model-pin-huggingface_hub_version branch October 19, 2024 03:31
apsonawane pushed a commit that referenced this pull request Oct 21, 2024
…es in 0.26.0 (#22508)

### Description
Pin huggingface_hub to 0.25.2 due to breaking changes in 0.26.0.



### Motivation and Context
We depend on `diffusers==0.28.0`, which [depends
on](https://github.com/huggingface/diffusers/blob/v0.28.0-release/setup.py#L104)
`huggingface_hub>=0.20.2`. There are breaking changes with the latest
huggingface_hub 0.26.0 release that break our Big Models pipeline:
[Release v0.26.0: Multi-tokens support, conversational VLMs and quality
of life improvements ·
huggingface/huggingface_hub](https://github.com/huggingface/huggingface_hub/releases/tag/v0.26.0)

Specifically, the breaking changes to `cached_download()` cause our
pipeline to fail.

![image](https://github.com/user-attachments/assets/c1d15c7e-9a5d-4ef3-8d1b-35bde0a2ca82)
@sophies927 sophies927 added the cherry-picked Cherry-picked for a cherrypicks branch label Oct 22, 2024
@snnn
Copy link
Copy Markdown
Contributor

snnn commented Sep 5, 2025

This PR has been cherry-picked into the rel-1.20.0 branch in PR #22526. Removing the release:1.20.0 label.

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

Labels

cherry-picked Cherry-picked for a cherrypicks branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants