stable-diffusion-webui-docker icon indicating copy to clipboard operation
stable-diffusion-webui-docker copied to clipboard

Two files missing - Repository not found in hugging face - error 24

Open Agiltech-com-au opened this issue 1 year ago • 7 comments

It looks like two files are missing now and stop the install? If i go to the links I get: "Repository not found"

It also seems to not be able to run the image after it gets those two DL errors.

[ERROR] CUID#7 - Download aborted. URI=https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt [ERROR] CUID#9 - Download aborted. URI=https://huggingface.co/runwayml/stable-diffusion-inpainting/resolve/main/sd-v1-5-inpainting.ckpt

End of install messages. sorry im not sure how to check logs :( bit of a noob.

download-1 | Download Results: download-1 | gid |stat|avg speed |path/URI download-1 | ======+====+===========+======================================================= download-1 | 15f18b|ERR | 0B/s|/data/models/Stable-diffusion/v1-5-pruned-emaonly.ckpt download-1 | 1f08d1|ERR | 0B/s|/data/models/Stable-diffusion/sd-v1-5-inpainting.ckpt download-1 | def529|OK | 133KiB/s|/data/models/LDSR/project.yaml download-1 | 2e97ed|OK | 6.0MiB/s|/data/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt download-1 | c49a2c|OK | 222KiB/s|/data/models/RealESRGAN/RealESRGAN_x4plus_anime_6B.pth download-1 | 9cd9c6|OK | 319KiB/s|/data/models/RealESRGAN/RealESRGAN_x4plus.pth download-1 | f024a4|OK | 9.0MiB/s|/data/models/LDSR/model.ckpt download-1 | 53774e|OK | 1.3MiB/s|/data/models/GFPGAN/GFPGANv1.4.pth download-1 | download-1 | Status Legend: download-1 | (OK):download completed.(ERR):error occurred. download-1 | download-1 | aria2 will resume download if the transfer is restarted. download-1 | If there are any errors, then see the log file. See '-l' option in help/man page for details. download-1 exited with code 24

Agiltech-com-au avatar Sep 01 '24 11:09 Agiltech-com-au

Same issue, looks like both files got taken down or removed. I tried looking around but can't find one of them still.

RiffyDivine avatar Sep 01 '24 15:09 RiffyDivine

It looks that Runway is not longer maintaining public model/datasets which are the ones missing, more info here: https://huggingface.co/runwayml

Jacq avatar Sep 02 '24 14:09 Jacq

It looks that Runway is not longer maintaining public model/datasets which are the ones missing, more info here: https://huggingface.co/runwayml

I see, is it safe to ignore the error and move on to loading a1111 or comfyui since we will be loaded our own models anyway? Nope seems it dumps out cause the files are missing.

RiffyDivine avatar Sep 02 '24 22:09 RiffyDivine

The models have been cloned here: https://huggingface.co/benjamin-paine/stable-diffusion-v1-5/tree/main https://huggingface.co/benjamin-paine/stable-diffusion-v1-5-inpainting/tree/main hopefully the dev can repoint?

thewriteway avatar Sep 05 '24 14:09 thewriteway

i had the same issue building the container

jeheskielSunloy77 avatar Sep 06 '24 07:09 jeheskielSunloy77

I am sure people figured out how to work around this... but if not... Simply edit the links.txt file:

vi services/download/links.txt

And edit the top lines to match the repo above:

https://huggingface.co/benjamin-paine/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.ckpt
  out=Stable-diffusion/v1-5-pruned-emaonly.ckpt
https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt
  out=VAE/vae-ft-mse-840000-ema-pruned.ckpt
https://huggingface.co/benjamin-paine/stable-diffusion-v1-5-inpainting/resolve/main/sd-v1-5-inpainting.ckpt
  out=Stable-diffusion/sd-v1-5-inpainting.ckpt
....

I had to accept some terms for benjamin-paine, so you need to log into your hugging face account and accept those terms.

Now you need to tell the downloader script who you are so hugging face allows you to download. You need to create a hugging face auth token. I made a 'read only" token which worked fine.

Edit this file

vi services/download/download.sh

And where you see "aria2c ..." add the head as an auth bearer token:

aria2c --header "Authorization: Bearer hf_xxxxxxxxxxxxxxxxxxxxxxxxx" -x 10 --disable-ipv6 --input-file /docker/links.txt --dir /data/models --continue

When aris2c downloads from hugging face, it should use your account via your token.

icsy7867 avatar Sep 06 '24 15:09 icsy7867

--header "Authorization: Bearer hf_xxxxxxxxxxxxxxxxxxxxxxxxx" -x 10

thanks! it helped me!

rustic-linux avatar Sep 12 '24 21:09 rustic-linux