Skip to content

local_files_only with safetensors required config #8544

Answered by asomoza
olegchomp asked this question in Q&A
Discussion options

You must be logged in to vote

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.

def _download_diffusers_model_config_from_hub(

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…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@olegchomp
Comment options

@asomoza
Comment options

@olegchomp
Comment options

@asomoza
Comment options

Answer selected by olegchomp
@olegchomp
Comment options

@asomoza
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants