You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rule-of-thumb is for any two unrelated functionalities, they are not expected to work unless explicitly noted.
in case of hidiffusion with pulid, that would be a major effort as pulid pipeline is a very different thing than standard sdxl pipeline.
you can convert this to a feature request if desired, but i doubt it will be prioritized unless there are contributions.
Issue Description
is this fixable or just not posible
i tried using hidiffusion with pulid
07:11:10-447660 ERROR gradio call: AttributeError
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ F:\SD\automatic\modules\call_queue.py:31 in f │
│ │
│ 30 │ │ │ try: │
│ ❱ 31 │ │ │ │ res = func(*args, **kwargs) │
│ 32 │ │ │ │ progress.record_results(id_task, res) │
│ │
│ F:\SD\automatic\modules\txt2img.py:96 in txt2img │
│ │
│ 95 │ p.state = state │
│ ❱ 96 │ processed: processing.Processed = scripts.scripts_txt2img.run(p, *args) │
│ 97 │ if processed is None: │
│ │
│ F:\SD\automatic\modules\scripts.py:511 in run │
│ │
│ 510 │ │ if hasattr(script, 'run'): │
│ ❱ 511 │ │ │ processed = script.run(p, *parsed) │
│ 512 │ │ else: │
│ │
│ F:\SD\automatic\scripts\pulid_ext.py:251 in run │
│ │
│ 250 │ │ │ │ return None │
│ ❱ 251 │ │ │ processed: processing.Processed = processing.process_images(p) # runs processing using main loop │
│ 252 │
│ │
│ F:\SD\automatic\modules\processing.py:210 in process_images │
│ │
│ 209 │ │ │ with context_hypertile_vae(p), context_hypertile_unet(p): │
│ ❱ 210 │ │ │ │ processed = process_images_inner(p) │
│ 211 │
│ │
│ F:\SD\automatic\modules\processing.py:340 in process_images_inner │
│ │
│ 339 │ │ │ │ │ from modules.processing_diffusers import process_diffusers │
│ ❱ 340 │ │ │ │ │ samples = process_diffusers(p) │
│ 341 │ │ │ │ else: │
│ │
│ F:\SD\automatic\modules\processing_diffusers.py:450 in process_diffusers │
│ │
│ 449 │ if 'base' not in p.skip: │
│ ❱ 450 │ │ output = process_base(p) │
│ 451 │ else: │
│ │
│ F:\SD\automatic\modules\processing_diffusers.py:95 in process_base │
│ │
│ 94 │ │ extra_networks.activate(p, exclude=['text_encoder', 'text_encoder_2', 'text_encoder_3']) │
│ ❱ 95 │ │ hidiffusion.apply(p, shared.sd_model_type) │
│ 96 │ │ timer.process.record('move') │
│ │
│ F:\SD\automatic\modules\hidiffusion_init_.py:35 in apply │
│ │
│ 34 │ │ │ p.extra_generation_params['HiDiffusion Ratios'] = f'{shared.opts.hidiffusion_t1}/{shared.opts.hidif │
│ ❱ 35 │ │ hidiffusion.apply_hidiffusion(shared.sd_model, apply_raunet=shared.opts.hidiffusion_raunet, apply_windo │
│ 36 │ │ p.extra_generation_params['HiDiffusion'] = f'{shared.opts.hidiffusion_raunet}/{shared.opts.hidiffusion_ │
│ │
│ F:\SD\automatic\modules\hidiffusion\hidiffusion.py:635 in apply_hidiffusion │
│ │
│ 634 │ diffusion_model = model.unet if hasattr(model, "unet") else model │
│ ❱ 635 │ diffusion_model.num_upsamplers += 12 │
│ 636 │ diffusion_model.info = { │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'StableDiffusionXLPuLIDPipeline' object has no attribute 'num_upsamplers'
Version Platform Description
No response
Relevant log output
Backend
Diffusers
UI
Standard
Branch
Master
Model
StableDiffusion XL
Acknowledgements
The text was updated successfully, but these errors were encountered: