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.
Follow-up PR after #6456 (cc @sayakpaul).
In #6456, I added support for offline mode. However I forgot to update
huggingface_hub
version in the dependencies as highlighted by @voytez in #6456 (comment).This PR fixes this by making
huggingface_hub>=0.20.2
the minimal version. This shouldn't cause any problem as diffusers is already compatible with0.20.2
and I'm not aware of any library pinninghuggingface_hub<0.20
.(for the record, setting
HF_HUB_OFFLINE=1
doesn't raise an error when callingmodel_info(...)
on versions <0.20.x)