Skip to content
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

use shared.hf_endpoint #16611

Merged
merged 1 commit into from
Oct 30, 2024
Merged

use shared.hf_endpoint #16611

merged 1 commit into from
Oct 30, 2024

Conversation

w-e-w
Copy link
Collaborator

@w-e-w w-e-w commented Oct 30, 2024

Description

similer to

model_url = f"{shared.hf_endpoint}/stable-diffusion-v1-5/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors"

as opposed to directly using https://huggingface.co, use shared.hf_endpoint whitch can be changed by env HF_ENDPOINT

hf_endpoint = os.getenv('HF_ENDPOINT', 'https://huggingface.co')

Checklist:


note
not sure if the one in sd_disable_initialization.py should be changed

@catboxanon catboxanon changed the title use shared.hf_endpoin use shared.hf_endpoint Oct 30, 2024
@catboxanon catboxanon merged commit 1b16c62 into dev Oct 30, 2024
6 checks passed
@catboxanon catboxanon deleted the use-shared.hf_endpoint branch October 30, 2024 17:01
bluelovers added a commit to bluelovers/stable-diffusion-webui that referenced this pull request Nov 26, 2024
* dev-a1111:
  fix passing of literal backslash (AUTOMATIC1111#16671)
  fix prompt-bracket-checker miscounting of literal tokens (AUTOMATIC1111#16669)
  Bump safetensors to v0.4.5
  Honor lossless webp compression option in API
  use shared.hf_endpoint (AUTOMATIC1111#16611)
  Warn if WebUI is installed under a dot directory (AUTOMATIC1111#16584)
  sd_xl_v.yaml: use_checkpoint = False
  XYZ option to disable grid (AUTOMATIC1111#16416)
  Fix Default system None filter logic (AUTOMATIC1111#16309)
  Fix weighting config for SDXL v-pred
  InputAccordion duplicate elem_id handling (AUTOMATIC1111#16381)
  addEventListener {passive: false} (AUTOMATIC1111#16575)
  pyenv-win compatibility - another approach (AUTOMATIC1111#16287)
  Disable Hires checkpoint if same as First pass checkpoint (AUTOMATIC1111#16269)
  Fix postprocessing_enable_in_main_ui ScriptPostprocessing elem_id (AUTOMATIC1111#16373)
  extra_only / main_ui_only ScriptPostprocessing (AUTOMATIC1111#16374)
  Allow newline in Extra Network activation text (AUTOMATIC1111#16428)
  image embedding data cache (AUTOMATIC1111#16556)
  Fix typo
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.

2 participants