mirror of https://github.com/vladmandic/automatic
fix omnigen image placeholder
Signed-off-by: Vladimir Mandic <mandic00@live.com>pull/3518/head
parent
ad3f40f736
commit
7d35264c4e
17
CHANGELOG.md
17
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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue