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

StableDiffusionControlNetPipeline loading stuck #104

Open
SensenGao opened this issue Sep 18, 2024 · 4 comments
Open

StableDiffusionControlNetPipeline loading stuck #104

SensenGao opened this issue Sep 18, 2024 · 4 comments

Comments

@SensenGao
Copy link

image

Has anyone encountered this issue where loading the StableDiffusionControlNetPipeline gets stuck?
The first time, loading the StableDiffusionPipeline works fine, but the second time, when the StableDiffusionControlNetPipeline calls the function model_cls.from_pretrained(ckpt_or_pretrained, torch_dtype=torch_dtype, **kwargs), it gets stuck at this point and remains so for several hours without progressing.

@josepmy
Copy link

josepmy commented Sep 18, 2024

@SensenGao Did you check this? #95

@SensenGao
Copy link
Author

@SensenGao Did you check this? #95

I have already tried replacing it with "ZeroCool94/stable-diffusion-v1-5", but once it reaches pipe = model_cls.from_pretrained(ckpt_or_pretrained, torch_dtype=torch_dtype, **kwargs), i.e., StableDiffusionControlNetPipeline.from_pretrained, it gets stuck. There is no such issue when using StableDiffusionPipeline.

@josepmy
Copy link

josepmy commented Sep 20, 2024

@SensenGao try with base_model = "benjamin-paine/stable-diffusion-v1-5"

@SensenGao
Copy link
Author

@SensenGao try with base_model = "benjamin-paine/stable-diffusion-v1-5"

Thank you for your reply. I will have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants