ThereforeGames / unprompted

Templating language written for Stable Diffusion workflows. Available as an extension for the Automatic1111 WebUI.
777 stars 66 forks source link

lora ignored on batch count > 1 #242

Open Specthram opened 7 months ago

Specthram commented 7 months ago

Due diligence

Describe the bug

(edited : it just ignores loras)

Hello, When I'm generating txt2img images, I use Loras. The picture is like what i want. If the batch size is set for example to 6, all images are similar. Ok. But when I set batch count to 2, despite the png info saying that the loras are still there, the second and above pictures batch looks like it is ignoring the loras (with every batch size). Am i missing something ?

I tried batch_count_method safe and unify, it does not resolve my issue. It's weird

I tried without unprompted, and it works fine my loras activated on all batch > 1. I tried with [civitai], same issue.

Prompt

No response

Log output

No response

Unprompted version

10.8.0

WebUI version

1.8.0

Other comments

No response

Specthram commented 6 months ago

I just found a work around if it can help to fix : I used https://lorainfo.tools/ to rename the lora modelspec.title and ss_output_name to a simple one without special characters like -_.. now my lora are just like <lora:toto:0.8>, <lora:tata:0.4> and it seems to work. There is maybe something with string parsing with loras inside code.