-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
bugSomething isn't workingSomething isn't workinglorastaleIssues that haven't received updatesIssues that haven't received updates
Description
Describe the bug
https://civitai.com/models/631986/xlabs-flux-realism-lora
This LoRA fails to load. Specifically, I get a ValueError: Incompatible keys detected
.
Reproduction
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda')
pipe.load_lora_weights('/data/models/flux_realism_lora.safetensors', adapter_name="wow_details")
prompt = "a tiny astronaut hatching from an egg on the moon"
out = pipe(
prompt=prompt,
guidance_scale=3.5,
height=1024,
width=1024,
num_inference_steps=25,
).images[0]
out.save("image.png")
Logs
ValueError: Incompatible keys detected
System Info
Latest commit on main
Who can help?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglorastaleIssues that haven't received updatesIssues that haven't received updates