Closed Detrian closed 1 year ago
What specific commit of the automatic1111 web UI are you using?
What specific commit of the automatic1111 web UI are you using?
68f336b
Can you give me a sample prompt (or better yet, a full set of generation params) which breaks it? I can't reproduce the issue on that commit.
Sure. I made some quick test images.
Works: p 1girl, waving, smile, <lora:Rabbit (wlsdnjs950):1> Negative prompt: easynegative, Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 2729349603, Size: 512x768, Model hash: b42b09ff12, Model: cetusMix_v4, Clip skip: 2, Lora hashes: "Rabbit (wlsdnjs950): b617b45520e4", TI hashes: "easynegative: c74b4e810b03", Version: v1.5.1 https://files.catbox.moe/jmkyla.png
Does not work. p 1girl, waving, smile, <lora:Rabbit (wlsdnjs950):1> Negative prompt: easynegative, Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 542882972, Size: 512x768, Model hash: b42b09ff12, Model: cetusMix_v4, Denoising strength: 0.35, Clip skip: 2, Hires prompt: "1girl, waving, smile, <lora:Rabbit (wlsdnjs950):1> ", Hires upscale: 2, Hires steps: 10, Hires upscaler: 4x-AnimeSharp, Lora hashes: "Rabbit (wlsdnjs950): b617b45520e4", TI hashes: "easynegative: c74b4e810b03", Version: v1.5.1 https://files.catbox.moe/051rag.png
The Lora/embeddings are these ones but I've tested with several and they all have the issue. https://civitai.com/models/70680/rabbit-or-wlsdnjs950-or-erabi-style-lora https://civitai.com/models/7808/easynegative
Checkpoint is this one but I tried others and have the same issue. https://civitai.com/models/6755?modelVersionId=78676
Issue happens regardless of scaler too.
Hm. I still can't reproduce it. The stack trace would suggest that raw_steps
isn't a string. I suspect you might have another extension somewhere messing with it, but if you feel comfortable hand-applying a patch, would you try this and see if it fixes it?
diff --git a/lib/utils.py b/lib/utils.py
index 415e400..9eff43d 100644
--- a/lib/utils.py
+++ b/lib/utils.py
@@ -6,7 +6,7 @@ import re
def sorted_positions(raw_steps):
steps = [[float(s.strip()) for s in x.split("@")]
- for x in re.split("[,;]", raw_steps)]
+ for x in re.split("[,;]", str(raw_steps))]
# If we just got a single number, just return it
if len(steps[0]) == 1:
return steps[0][0]
I'm afraid I have absolutely no idea how to do that and can't seem to find how, sorry. I did try removing all the other extensions except this one but the problem persisted. I'm thinking of reinstalling the UI again and see how that goes.
Open the file extensions/sd-webui-loractl/lib/utils.py
in a text editor. On line 9, replace for x in re.split("[,;]", raw_steps)]
with for x in re.split("[,;]", str(raw_steps))]
, save, and restart the web UI.
Sorry, without a means to reproduce the issue I'm mostly just guessing here.
Oh, that's easier. Well, there is no error anymore but the lora does not apply, same as before.
I'm out of ideas; without a means to reproduce the error, I'm not sure I can offer further help :/
Sounds like a freak error for sure. I'll try reinstalling the whole thing and see how it goes. Thank you so much.
I'm going to close this ticket for now; let me know if you manage to fix it (or get more information on the error).
I did a complete wipe and reinstall of git, python, the webui and accompanying extensions. It fixed the problem and I made images for a couple of hours but then the issue began to present itself again. I'm not sure why. What I discovered is that reloading the UI, either through the button in the UI's settings menu or the one at the bottom of the UI, fixes the issue. Closing and reopening the console/browser frontend does not fix it, so the issue persists until you do a manual reload. I haven't tested if the issue persists through a PC reboot, might do later if the opportunity presents itself.
I've taken to reloading the Ui every hour or so, just in case.
That is extraordinarily odd. Let me know if you come up with a solid reproduction procedure.
I had this working just fine a couple days ago but had to reinstall my setup and sadly this doesn't work anymore. Trying to use it without hires.fix does work but that's not ideal.