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

Attribute error #445

Open
semjon00 opened this issue Jun 3, 2024 Discussed in #421 · 0 comments
Open

Attribute error #445

semjon00 opened this issue Jun 3, 2024 Discussed in #421 · 0 comments
Labels
green One of the basic colors

Comments

@semjon00
Copy link
Collaborator

semjon00 commented Jun 3, 2024

Discussed in #421

Originally posted by KillerRu March 9, 2024
Stupid question but I keep bumping into this error when loading this extension.
I am totally new in the Stable Diffusion environment.

ERROR: 'StableDiffusionPipeline' object has no attribute 'cond_stage_model'

Please report this issue here. Make sure to provide the full stacktrace:
Traceback (most recent call last):
File "D:\AI\Packages\automatic\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py", line 532, in run_generate
input_i, type, result = next(gen_obj)
File "D:\AI\Packages\automatic\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 94, in core_generation_funnel
backbone.unload_sd_model()
File "D:\AI\Packages\automatic\extensions\stable-diffusion-webui-depthmap-script\src\backbone.py", line 64, in unload_sd_model
shared.sd_model.cond_stage_model.to(devices.cpu)
File "D:\AI\Packages\automatic\venv\lib\site-packages\diffusers\configuration_utils.py", line 142, in getattr
raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")
AttributeError: 'StableDiffusionPipeline' object has no attribute 'cond_stage_model'

I presume it's something simple... But can't figure it out.
I've tried a complete remove and reinstall of the extension but didn't show any result.

@semjon00 semjon00 added the green One of the basic colors label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
green One of the basic colors
Projects
None yet
Development

No branches or pull requests

1 participant