missing keys and bad grainy image

#6
by jonnytracker - opened

missing keys and bad grainy image.. bad lora

I have also same problem. the output image is grainy.

output

my inference code .

import torch
from diffusers import Flux2Pipeline
from time import time

TURBO_SIGMAS = [1.0, 0.6509, 0.4374, 0.2932, 0.1893, 0.1108, 0.0495, 0.00031]

pipe = Flux2Pipeline.from_pretrained(
"black-forest-labs/FLUX.2-dev",
torch_dtype=torch.bfloat16,device_map = "balanced")

pipe.load_lora_weights(
"fal/FLUX.2-dev-Turbo",
weight_name="flux.2-turbo-lora.safetensors"
)

prompt = "Wooden table in a living room, featuring a clear crystal bowl filled with assorted fresh fruit, illuminated by soft natural light streaming from a nearby window. Photorealistic interior photograph at eye level, warm color palette, pronounced wood grain texture and sparkling crystal reflections, realistic fruit skin detail, shallow depth of field with gentle bokeh, subtle dust particles in light rays, soft shadows, high-detail, 8K, sharp focus, masterpiece-quality."

image = pipe(
prompt=prompt,
sigmas=TURBO_SIGMAS,
guidance_scale=2.5,
height=1024,
width=1024,
num_inference_steps=8,
).images[0]
image.save("output.png")

Sign up or log in to comment