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

Cannot train LoRA in WebGUI #7

Open
SingleZombie opened this issue Nov 27, 2024 · 0 comments
Open

Cannot train LoRA in WebGUI #7

SingleZombie opened this issue Nov 27, 2024 · 0 comments

Comments

@SingleZombie
Copy link

SingleZombie commented Nov 27, 2024

If we train LoRA in the WebGUI, we may get this error.

RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn

This is because your LoRA implementation is outdated in diffusers >= 0.25.1. I notice that you have changed the diffusers version from 0.21.4 to 0.25.1. The old version works. So I suggest you either modify the diffusers version in Readme or upgrade your LoRA implementation.

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

1 participant