-
Notifications
You must be signed in to change notification settings - Fork 26.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Generating using LoRA fails with Runtime Error with Lora/Networks: use old method
enabled
#12104
Comments
Same issue |
Same issue, heres is my infodump, i just upgraded everything, xformers, every plugin, every extra is turned off and i still cannot get regular loras to work, same error:
also my current versions of dependencies:
|
I am experiencing this issue as well. |
same problem |
seems a duplicate of: |
Restored june version of WebUI and extensions and all is working fine |
Yeah but i cannot be switching branches between that june version that is incompatible with SDXL and the current release, would be nice to have both working. I think here is another duplicate btw: |
same problem (SD1,5 models + LORA) |
Ok so, i managed to solve it, there is a setting that says:
in the settings ( settings -> show all -> find "LORA" string for quick getting there ) if this is enabled, it causes this issue and wont allow you to use Loras, just disable it and it should work ( it worked for me ) |
@hako-mikan also suggests this option is required for some extensions, per #12157.
|
Lora/Networks: use old method
enabled
Did a bisect, it was introduced by the first commit as part of the extra network rework. b75b004 It seems like before this commit the shape passed into the forward function is fine ( |
#12466 should close this |
Is there an existing issue for this?
What happened?
I'm on commit 68f336b, master HEAD at time of posting.
None of my LORAs seem to be working anymore. Normal prompting works fine, but as soon as I try generating after adding a LORA to my prompt I receive the following:
RuntimeError: mat1 and mat2 shapes cannot be multiplied (77x3072 and 768x128)
I'm not well versed in python nor the inner workings of stable diffusion, so I can't debug this myself effectively.
I don't think providing the LORA file or prompt is necessary, as I can reproduce this with any combination of checkpoints and LORAs which would previously work fine.
Steps to reproduce the problem
What should have happened?
I would expect the LORA to perform as it did in earlier versions with the same configuration, at the very least, generate an image. I haven't done a bisect, but I tried a commit from a week ago or so and it worked fine there. Every time I pull I delete venv and repositories folders beforehand.
Version or Commit where the problem happens
68f336b
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
Nvidia GPUs (RTX 20 above)
Cross attention optimization
xformers
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
ddetailer, sd-webui-supermerger, stable-diffusion-webui-dataset-tag-editor, stable-diffusion-webui-wd14-tagger
Console logs
Additional information
None of the extensions listed are used in the context of this issue
The text was updated successfully, but these errors were encountered: