KohakuBlueleaf / a1111-sd-webui-lycoris

An extension for stable-diffusion-webui to load lycoris models.
Apache License 2.0
862 stars 117 forks source link

Caching mistakes in "Hires. fix" by LyCORIS? LyCORIS model settings called in the past with <lyco:> are resurrected again when Hires. fix. #38

Closed leoftm closed 1 year ago

leoftm commented 1 year ago

LyCORIS model settings called in the past with are resurrected again when Hires. fix.

Example: 1st prompt & Hires. fix

→ ``` ======================================== Apply LyCORIS model: lora-weights Text encoder weight: 0.2 Unet weight: 1.5 DyLoRA Dim: None ======================================== (Here is the progress bar during hiresfix.) ======================================== Apply LyCORIS model: lora-weights Text encoder weight: 0.2 Unet weight: 1.5 DyLoRA Dim: None ======================================== ``` Second prompt & Hires. fix → ``` ======================================== Apply LyCORIS model: lora-weights Text encoder weight: 1.2 Unet weight: 2.5 DyLoRA Dim: None ======================================== (Here is the progress bar during hiresfix.) ======================================== Apply LyCORIS model: lora-weights Text encoder weight: 0.2 Unet weight: 1.5 DyLoRA Dim: None ======================================== ``` If is deleted, it will be restored during Hires.fix. Is it because of cache settings etc?
leoftm commented 1 year ago

Wow, it looks like the equals I pasted from the terminal did a bad job, sorry.

KohakuBlueleaf commented 1 year ago

I think the problem is by sd-webui since this part is not managed by my extension

leoftm commented 1 year ago

Sorry, I didn't notice the spec change! There is a separate prompt input area that is applied during the hires.fix and it was written there! Sorry for the hassle, thanks for the response!