diff --git a/modules/processing_diffusers.py b/modules/processing_diffusers.py index 28f1a553d..1e984134b 100644 --- a/modules/processing_diffusers.py +++ b/modules/processing_diffusers.py @@ -311,8 +311,8 @@ def process_diffusers(p: StableDiffusionProcessing, seeds, prompts, negative_pro args[arg] = task_kwargs[arg] else: pass - # shared.log.debug(f'Diffuser not supported: pipeline={pipeline.__class__.__name__} task={sd_models.get_diffusers_task(model)} arg={arg}') - # shared.log.debug(f'Diffuser pipeline: {model.__class__.__name__} possible={possible}') + for k, v in getattr(p, 'task_args', {}).items(): + args[k] = v hypertile_set(p, hr=len(getattr(p, 'init_images', []))) clean = args.copy() clean.pop('callback', None) @@ -327,6 +327,8 @@ def process_diffusers(p: StableDiffusionProcessing, seeds, prompts, negative_pro clean['mask_image'] = type(clean['mask_image']) if 'masked_image_latents' in clean: clean['masked_image_latents'] = type(clean['masked_image_latents']) + if 'ip_adapter_image' in clean: + clean['ip_adapter_image'] = type(clean['ip_adapter_image']) if 'prompt' in clean: clean['prompt'] = len(clean['prompt']) if 'negative_prompt' in clean: diff --git a/modules/shared.py b/modules/shared.py index 176bd4690..7c7304d0c 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -609,7 +609,7 @@ options_templates.update(options_section(('extra_networks', "Extra Networks"), { "extra_networks_styles": OptionInfo(True, "Show built-in styles"), "lora_preferred_name": OptionInfo("filename", "LoRA preffered name", gr.Radio, {"choices": ["filename", "alias"]}), "lora_add_hashes_to_infotext": OptionInfo(True, "LoRA add hash info"), - "lora_in_memory_limit": OptionInfo(0, "LoRA memory cache", gr.Slider, {"minimum": 0, "maximum": 10, "step": 1}), + "lora_in_memory_limit": OptionInfo(0, "LoRA memory cache", gr.Slider, {"minimum": 0, "maximum": 24, "step": 1}), "lora_functional": OptionInfo(False, "Use Kohya method for handling multiple LoRA", gr.Checkbox, { "visible": False }), "sd_hypernetwork": OptionInfo("None", "Add hypernetwork to prompt", gr.Dropdown, { "choices": ["None"], "visible": False }),