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

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

Open
Agiltech-com-au opened this issue Sep 1, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Agiltech-com-au
Copy link

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 Agiltech-com-au added the bug Something isn't working label Sep 1, 2024
@RiffyDivine
Copy link

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

@Jacq
Copy link

Jacq commented Sep 2, 2024

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

@RiffyDivine
Copy link

RiffyDivine commented Sep 2, 2024

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.

@thewriteway
Copy link

@jeheskielSunloy77
Copy link

i had the same issue building the container

@icsy7867
Copy link

icsy7867 commented Sep 6, 2024

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.

@rustic-linux
Copy link

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

thanks! it helped me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants