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.
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.