#Hugging Face or Civitai Model Download Issues?

20 messages · Page 1 of 1 (latest)

regal radish
#

Lots of people are having issues with Civitai Model Download or Hugging Face download, this is to answer the question:

  1. If the download is slow, HF or Civitai could be the bottleneck, you can run this here to see:
    https://discord.com/channels/912829806415085598/1207175605255147571

  2. General tips on transfering files if curious:
    https://github.com/justinwlin/Runpod-Tips-and-Tricks/tree/main/SSH On Runpod

  3. HF has their own CLI tool to download models, use it as they have optimized it a lot:
    https://huggingface.co/docs/huggingface_hub/en/guides/download

https://github.com/huggingface/hf_transfer

  1. Civitai now is often requiring people to authenticate:

See if below solves your issue
https://www.reddit.com/r/StableDiffusion/comments/19f8wdm/need_help_with_civitai_model_download/

Also! Civitai as the reddit post states has a GIthub on their REST API Reference:
https://github.com/civitai/civitai/wiki/REST-API-Reference

GitHub

Runpod Tips and tricks repository. Contribute to justinwlin/Runpod-Tips-and-Tricks development by creating an account on GitHub.

GitHub

Contribute to huggingface/hf_transfer development by creating an account on GitHub.

Reddit

Explore this post and more from the StableDiffusion community

GitHub

A repository of models, textual inversions, and more - civitai/civitai

#

Hugging Face or Civitai Model Download Issues?

zinc wind
#

Thanks

zinc wind
#

Hi @justin,
Really sorry. It seems I am unable to figure out things here. The steps are for Google Colab but I am using RunPod.
It appears, the whole internet is unaware of RunPod. Such a pity!

shadow surge
#

@quaint zephyr this might be good docs content, especially the civitai login requirement

regal radish
zinc wind
#

Yeah, I know how to use SD in RunPod. I open Jupyter Terminal, go to the models folder and download CIVITAI model into it directly using the curl -O -J -L followed by the dowload link in command.

#

But now, that command doesn't seem to work

#

Even for my own Google Drive models, I used gdown and the link. Now, even that doesn't work.

regal radish
zinc wind
#

I think this issue has happened due to the recent CIVITAI update and we need a new command to download models from Civitai directly into RunPod.

#

For now, I am keeping aside my Google Drive. Not being able to download CIVITAI models is a thing that I can't digest.

regal radish
#

Honestly I don't use civitai so I cannot say, just reflecting what I've heard

zinc wind
#

I have the API key. But what's the full command?

regal radish
# zinc wind I have the API key. But what's the full command?

As the reddit thread I linked says:

https://www.reddit.com/r/StableDiffusion/comments/19f8wdm/comment/ko92bzg/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

wget -P {your local model directory, not including a file name} -q --show-progress --content-disposition https://civitai.com/api/download/models/{modelVersionId from the model download link}?token={your api key from civitai user settings}

-P puts it in the right folder
-q suppresses useless console output
--show-progress shows progress as console output
--content-disposition names the file correctly (otherwise you'll need to rename it to after downloading)
zinc wind
#

That's why I didn't follow the above guy's example.

#

Not a proper way to explain the command. Should have given an example.

#

Anyways. I think I will have to keep trying.