-
Hi! I'm trying to use StableDiffusionPipeline.from_single_file and local_files_only with safetensors model. Depend on selected model (from civitai) it allways download different configs (text_encoder, scheduler, model_index, tokenizer and etc.).
|
Beta Was this translation helpful? Give feedback.
Answered by
asomoza
Jun 14, 2024
Replies: 1 comment 7 replies
-
Found multiple issues like #6836 and #4021, but can't get idea, do i need those 10 gb models? Because if set to not use local files it only download around 20-30 mb only. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote why before, maybe it wasn't clear enough, this is something that comes from the huggingface_hub that's used to load the files. If you don't have online access you need to have the same repo name as a local file structure, it's not something that was coded in diffusers.
diffusers/src/diffusers/loaders/single_file.py
Line 239 in f96e4a1
Also I gave you three options you can use to change this, one of the is to use a custom
cache_dir
but you need to either do an online run or copy the files from another system with online access (you can't just copy the files you manually download).If you're asking if there's and argum…