Skip to content

Cannot train LoRA in WebGUI #7

@SingleZombie

Description

@SingleZombie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions