Open zixaphir opened 2 months ago
Wondering, if you remove or increase the limit, does the 4th extract works?
Wondering, if you remove or increase the limit, does the 4th extract works?
Does it load the weights of implemented keys? Yes.
Does it load every key? No. In my testing, concepts from the Lora appeared to work, but I noticed anatomy errors and a slightly "smeared" look. However, removing these checks makes it work identically to comfyui, minus a few additions comfy currently has for Cascade, SD3, and Transformers 2/3 Lora that are not present in the current ldm_patched/modules/lora.py
I also verified that while comfy also fails to load many of the keys present in 4th Tail, it loads the Lora anyways.
I did a "fix" into reForge for this, can you try if it works?
Checklist
What happened?
Some Lora will not load under an erroneous "version mismatch" error because they contain too many unmatched keys (due to https://github.com/lllyasviel/stable-diffusion-webui-forge/blob/bfee03d8d9415a925616f40ede030fe7a51cbcfd/ldm_patched/modules/sd.py#L69-L71). While this can prevent Lora from loading that were trained under newer methods that might not have been entirely implemented yet, the count of "unmatched keys" is arbitrary and does not match the reality that, despite not aligning 100% to what has been already implemented, Lora models often work to a lesser but usable degree even if every key has not been implemented. This code is, despite documentation commentary in the referenced file, neither reference only nor taken wholesale from the originating repo, and this blocking check is unique to forge. While it is understandable that version checking can prevent issues with incompatibility, models such as 4th Tail that are perfectly usable despite these missing keys are blocked by this check.
Steps to reproduce the problem
For the example Lora listed above,
What should have happened?
The 4th Tail Lora should apply usable weights to the running PonyXL-based model
What browsers do you use to access the UI ?
Mozilla Firefox
Sysinfo
N/A
Console logs
Additional information
No response