Skip to content
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

Failed to match keys when loading Lora #357

Closed
kakaruYH03 opened this issue Mar 11, 2023 · 5 comments
Closed

Failed to match keys when loading Lora #357

kakaruYH03 opened this issue Mar 11, 2023 · 5 comments

Comments

@kakaruYH03
Copy link

After a recent update
The generated LORAs will be subject to this error.

Failed to match keys when loading Lora error occurs for generated lora

스크린샷 2023-03-11 165524

스크린샷 2023-03-11 165619

스크린샷 2023-03-11 165615

스크린샷 2023-03-11 165545

This is the setting in use

Even after reinstalling, I get the same error.
It seems like an update problem

@bmaltais
Copy link
Owner

I will have to check. Did you upgrade your extensions in auto1111?

@kakaruYH03
Copy link
Author

I will have to check. Did you upgrade your extensions in auto1111?

스크린샷 2023-03-11 212009

스크린샷 2023-03-11 213354

The same error occurs even if webui is also updated to the latest version.
My friend also said that the same error occurs after an update.

@OedoSoldier
Copy link

OedoSoldier commented Mar 11, 2023

Same error here when training dim=12 alpha=6 standard LoRA.

Edit: I think it's training LoCon in default not LoRA
Edit 2: reset to fccb1c3 and all goes well

@kakaruYH03
Copy link
Author

나는 확인해야 할 것이다. auto1111에서 내선을 업그레이드하셨나요?

Since today's lora update, the error does not occur

However, the previously created LORA generates an error. Is there any way other than re-learning?

@bmaltais
Copy link
Owner

Try to resize the LoRA with the Resize LoRA tool in the GUI. My ight help fix the issue

Cauldrath pushed a commit to Cauldrath/kohya_ss that referenced this issue Apr 5, 2023
Fix device issue in load_file, reduce vram usage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants