From 7d35264c4e40ac8a864b66a96e2fa8b65e3cfcf4 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Thu, 24 Oct 2024 13:24:59 -0400 Subject: [PATCH] fix omnigen image placeholder Signed-off-by: Vladimir Mandic --- CHANGELOG.md | 17 +++++++++++++++++ modules/processing_args.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a91cc0530..b1452ac74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log for SD.Next +## Update for 2024-10-24 + +Improvements: +- SD3 loader enhancements + - report when loading incomplete model + - handle missing model components + - handle component preloading +- OpenVINO add accuracy option +- ZLUDA guess GPU arch + +Fixes: +- fix send-to-control +- fix k-diffusion +- fix sd3 img2img and hires +- handle a1111 prompt scheduling +- handle omnigen image placeholder in prompt + ## Update for 2024-10-23 ### Highlights for 2024-10-23 diff --git a/modules/processing_args.py b/modules/processing_args.py index 0b0d969a4..1ea91fb08 100644 --- a/modules/processing_args.py +++ b/modules/processing_args.py @@ -127,7 +127,7 @@ def set_pipeline_args(p, model, prompts: list, negative_prompts: list, prompts_2 if 'prompt' in possible: if 'OmniGen' in model.__class__.__name__: - p.prompts = [p.replace('|image|', '<|image_1|>') for p in prompts] + prompts = [p.replace('|image|', '<|image_1|>') for p in prompts] if hasattr(model, 'text_encoder') and 'prompt_embeds' in possible and len(p.prompt_embeds) > 0 and p.prompt_embeds[0] is not None: args['prompt_embeds'] = p.prompt_embeds[0] if 'StableCascade' in model.__class__.__name__ and len(getattr(p, 'negative_pooleds', [])) > 0: