-
Notifications
You must be signed in to change notification settings - Fork 43
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
allow local weight usage for stablediffusion #9
Comments
Absolutely, nice catch! |
I think a separate variable would be best. That then leads to handling the case where a user specifies both an API key/token and a local install directory... I'll think more about that, but I still prefer a separate environment variable over sharing an env var between two use cases. |
Hi, |
Hey, are you loading your model with I think I found an example of that here, I can look into adding this if it is of help https://github.com/huggingface/diffusers/blob/main/src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py#L778. |
Hi, yes exactly, I want to load my model using https://github.com/huggingface/diffusers/blob/beb59abfa02ca832bc8cae440b5a23d1c3d46cda/src/diffusers/pipelines/stable_diffusion/convert_from_ckpt.py#L796 |
diffusers supports using local pretrained weights, instead of requiring an API key:
search this page ( https://github.com/huggingface/diffusers#text-to-image-generation-with-stable-diffusion ) for the following phrase:
Would it be possible to allow local weight file usage, instead of requiring an API token?
The text was updated successfully, but these errors were encountered: