-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:support download huggingface files from a mirror site #2637
Merged
mashb1t
merged 5 commits into
lllyasviel:develop
from
chenxinlong:feat/download-from-hf-mirror
Apr 6, 2024
Merged
feat:support download huggingface files from a mirror site #2637
mashb1t
merged 5 commits into
lllyasviel:develop
from
chenxinlong:feat/download-from-hf-mirror
Apr 6, 2024
+101
−26
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fix: add default_image_number to preset handling * fix: use minimum image number of preset and config to prevent UI overflow
…switching schema (lllyasviel#2615) * feat: update sha256 generation functions https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/29be1da7cf2b5dccfc70fbdd33eb35c56a31ffb7/modules/hashes.py * feat: add compatibility for LoRAs in a1111 metadata scheme * feat: add backwards compatibility * refactor: extract remove_special_loras * fix: correctly apply LoRA weight for legacy schema
This feature is good, and I hope it will allow users to configure mirror websites in the startup parameters to speed up downloads |
46722da
to
743bc84
Compare
Looks good, now it's supported in this pr. |
1 task
@chenxinlong great feature, LGTM 👍 |
csokun
pushed a commit
to csokun/Fooocus
that referenced
this pull request
Jun 16, 2024
…lyasviel#2637) * fix: load image number from preset (lllyasviel#2611) * fix: add default_image_number to preset handling * fix: use minimum image number of preset and config to prevent UI overflow * fix: use correct base dimensions for outpaint mask padding (lllyasviel#2612) * fix: add Civitai compatibility for LoRAs in a1111 metadata scheme by switching schema (lllyasviel#2615) * feat: update sha256 generation functions https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/29be1da7cf2b5dccfc70fbdd33eb35c56a31ffb7/modules/hashes.py * feat: add compatibility for LoRAs in a1111 metadata scheme * feat: add backwards compatibility * refactor: extract remove_special_loras * fix: correctly apply LoRA weight for legacy schema * docs: bump version number to 2.3.1, add changelog (lllyasviel#2616) * feat:support download huggingface files from a mirror site --------- Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
As described #2636 .
Both env
HF_MIRROR
and startup argument--hf-mirror
are supported to specify a mirror site to download huggingface files on fooocus runtime. Like :--hf-mirror
arg has higher priority thanHF_MIRROR
env.