Skip to content

How to set lora scale when loading a LoRA model? #4047

@pietrobolcato

Description

@pietrobolcato

Hey there, first of all thanks for your fantastic work!

I am loading LoRA weights, and I would like to set the scale of them being applied. Checking the code, it appears to be possible as shown here.

How can we do it in practice? Is it possible to provide a small code snippet?

Thank you so much! Really appreciate your help :)

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