-
Notifications
You must be signed in to change notification settings - Fork 111
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
[CRITICAL]All LoRAs not working anymore #40
Comments
Same error here...!! |
Pretty sure the latest commit broke it. Confirming the same experience. |
I was able to revert back to the last commit and everything is working again...! |
I thought it worked, but it becomes inconsistent in results. |
Confirmed this works, will keep an eye out for a new update. Thanks for the (temporary) solution! |
Even the 1111 release candidate (v1.3.0-RC) that just came out doesn't work with an error. |
@BigZampano colab has a similar situation, what to do |
I have no idea, sorry... maybe just disable this extension and rely on the built in LoRA until a fixed version comes... won't be long I suppose... |
Guys, I use colab and disable Lycoris and a1111-sd-webui-locon extensions in extensions tab worked for me. Let's see what comes from now on... |
I did a "git checkout 04b768b" and it doesn't seem to revert to the last commit, what should I do? Thanks. |
There's a breaking change coming in A1111 1.3.0, you'll need to switch back to main after updating A1111. |
if you dont know about git cmd, |
File "/home/acncagua/stable-diffusion-webui/venv/lib/python3.10/site-packages/gradio/routes.py", line 414, in run_predict |
I rolled back to the last commit with 'git reset --hard 04b768b' and lora was back to work. |
line 371: lora.mtime = os.path.getmtime(lora_on_disk) line 373: sd = sd_models.read_state_dict(lora_on_disk) |
As Ineman said ,got \stable-diffusion-webui\extensions\a1111-sd-webui-locon\scripts,open (main.py) by notepad++ or other edit tools ,change these 2 lines,restart a1111 from cmd. |
This work for me |
I'm using SD on Google Colab "notebook" and I can't be editing any files. It's either straight out of Github or nothing. Is there a way for me to use an older commit or a branch that is working? If it is, please provide me a link and or a guide. |
This worked for me, but then I just get an error about AttributeError: 'LatentDiffusion' object has no attribute 'lora_layer_mapping' instead |
Thank you! This saved me from a two hour nightmare. |
This works for me! Thanks!!! |
add --no-half-vae --disable-nan-check in webui-user.bat |
me,too。help! |
Worked for a bit by editing the two lines above. Now, any attempt at a LORA/Lycoris gets me:
|
tried that but got a new error and I don't nor should need --no-half-vae --disable-nan-check |
Here are a few options to resolve this: Migrate to https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris Update to A1111 1.3.0 RC Wait then update to A1111 1.3.0 release Revert to commit 04b768b, but then revert back to head after updating A1111 to =>1.3.0 PR an A1111 version detection to deal with the changes in interface with the A1111 LoRA module in 1.3.0 Do note that this extension has other bug caused by the same root issue: this extension hijacks the default A1111 LoRA module and A1111 has updated that module a bunch while this extension's development has been dead for months. The a1111-sd-webui-lycoris does not do this and currently appears to be A1111=>1.3.0 safe. |
Sorry for late reply. First, this extension is basically dead and deprecated, and the reason is basically as same as what @Kadah said. I firstly use some hijack and hook to replace the built-in lora with my own locon implementation, and this quickly turn out to be bad idea. So I just rewrite a new version (lycoris) by myself. Which is "basically" (not totally) isolated with built-in loras. (If you have traced the code detailly, you will find out that since my impl and a41's impl both need to do some weight operation on-fly in generation. I need to do lot more check to ensure lycoris ext will backup/restore correct weight, however this part continuouly has some annoying bug and I cannot reproduce them...) basically the best solution now is: install lycoris, disable built-in lora, move all your lora/locon/loha/lokr/ia3/dylora file into LyCORIS folder. And if there are someone who want to maintain this extension (it will be very difficult), let me know. |
A1111-sd-webui-lycoris does not support LoRA Block Weight. Only this extension supports it. Can a1111-sd-webui-lycoris be enabled to support it? Thank you! |
Experiencing similar issue:
Is there an official fix in the mix? |
You should check LBW's repo |
This is not my extension. "THIS EXTENSION IS NOT FOR ADDITIONAL NETWORK“ |
Copied from lbw's readme |
lora: lyco: (except DyLORA) lyco: (In case of DyLORA) |
BTW, since my arg system have kwarg feature and default value feature. you can use: |
So, you mean we can use it in the same way as |
couldn't fallback. |
locon load lora method
loading Lora I:\GitHub\stable-diffusion-webui\models\Lora\Vehicle.safetensors: AttributeError
Traceback (most recent call last):
File "I:\GitHub\stable-diffusion-webui\extensions\a1111-sd-webui-locon\scripts......\extensions-builtin/Lora\lora.py", line 222, in load_loras
lora = load_lora(name, lora_on_disk.filename)
File "I:\GitHub\stable-diffusion-webui\extensions\a1111-sd-webui-locon\scripts\main.py", line 371, in load_lora
lora.mtime = os.path.getmtime(lora_on_disk.filename)
AttributeError: 'str' object has no attribute 'filename'
All the LoRAs not working anymore.
Maybe caused by the latest commit.
The text was updated successfully, but these errors were encountered: