Skip to content

Support new loras from Flux Authors #9997

@MohamedAliRashad

Description

@MohamedAliRashad

I have tried this code:

import torch
from diffusers import AutoPipelineForImage2Image

pipeline = AutoPipelineForImage2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipeline.unload_lora_weights()
pipeline.load_lora_weights("black-forest-labs/FLUX.1-Redux-dev")
pipeline.enable_model_cpu_offload()

and it gave me this error:

ValueError: Invalid LoRA checkpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues that haven't received updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions