Skip to content

Expand documentation for LORA with locally stored models #3038

@nicemicro

Description

@nicemicro

Description of LORA fine tuning does not cover all the bases
I am fairly new to Stable Diffusion, but have some experience using other ML projects, so in general, configuring a dataset and fine tuning is not an issue, however, I run into a block here trying to finetune LORA on a local model, as the --pretrained_model_name_or_path switch expects a JSON file, but this behavior is undocumented for the script.

A solution I'd like
A chapter for the documentation in diffusers/examples/text_to_image/README.md that describes or at least links to other documentation on what file path should be specifies for using a locally downloaded model for the basis of LORA.

Alternatives I've considered
I've read through the code, and I can see that the args.pretrained_model_name_or_path is used in many function calls, so I assume people more familiar with Stable Diffusion would be able to find the documentation, but it is hardly ideal for someone a bit less knowledgeable.

Additional context
Nowadays many different SD models exist that one can get from the internet. Using LORA to fine tune one that is almost there for one's personal use case would be ideal from a time and wasted computational power perspective. Therefore having documentation on how to do LORA fine tuning on locally downloaded models (safetensors, ckpt) would be nice.

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