Skip to content

Make sure Diffusers works even if Hub is down#3447

Merged
patrickvonplaten merged 2 commits into
mainfrom
robust_hub_down
May 23, 2023
Merged

Make sure Diffusers works even if Hub is down#3447
patrickvonplaten merged 2 commits into
mainfrom
robust_hub_down

Conversation

@patrickvonplaten

@patrickvonplaten patrickvonplaten commented May 16, 2023

Copy link
Copy Markdown
Contributor

Still need to add tests and check that PR indeed makes sure diffusers still works when Hub is down. Should resolve: #3372

Thanks a lot for the design idea @Wauplin

@sayakpaul @pcuenca wdyt about the design?

@patrickvonplaten patrickvonplaten changed the title Make sure Diffusers works even if Hub is down [WIP] Make sure Diffusers works even if Hub is down May 16, 2023
@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented May 16, 2023

Copy link
Copy Markdown

The documentation is not available anymore as the PR was closed or merged.

@sayakpaul sayakpaul left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Design looks good to me!

@pcuenca pcuenca left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The design looks good! It's easy to understand what's going on. It took a moment to remember that hf_hub_download does not really download if the file is cached, so this is good.

@patrickvonplaten patrickvonplaten changed the title [WIP] Make sure Diffusers works even if Hub is down Make sure Diffusers works even if Hub is down May 22, 2023
@patrickvonplaten patrickvonplaten merged commit 9e2734a into main May 23, 2023
@patrickvonplaten patrickvonplaten deleted the robust_hub_down branch May 23, 2023 13:22
@Wauplin

Wauplin commented May 23, 2023

Copy link
Copy Markdown
Collaborator

Nice!

yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* Make sure Diffusers works even if Hub is down

* Make sure hub down is well tested
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
* Make sure Diffusers works even if Hub is down

* Make sure hub down is well tested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] raise exceptions on all network errors

5 participants