Skip to content

Getting blur images on playground v2.5 model when used with 'lpw_stable_diffusion_xl' custom pipeline #11023

Closed
@kotlasaicharan

Description

@kotlasaicharan

Describe the bug

I am getting blurred images on playground v2.5 model when used with 'lpw_stable_diffusion_xl'. I see Playground v2.5 uses the same architecture as SD-XL.

Please help me fix this @sayakpaul @hlky
Thank you!

Reproduction

from diffusers import DiffusionPipeline, StableDiffusionPipeline
import torch

pipe = DiffusionPipeline.from_pretrained(
"playgroundai/playground-v2.5-1024px-aesthetic"
, torch_dtype = torch.float16
, use_safetensors = True
, variant = "fp16"
, custom_pipeline = "lpw_stable_diffusion_xl",
)
pipe.to("cuda")
images = pipe(prompt= "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
num_inference_steps=50 ).images[0]
images.save("image.png")

Image

Logs

System Info

  • 🤗 Diffusers version: 0.32.2
  • Platform: Linux-6.1.85+-x86_64-with-glibc2.35
  • Running on Google Colab?: Yes
  • Python version: 3.11.11
  • PyTorch version (GPU?): 2.5.1+cu124 (True)
  • Flax version (CPU?/GPU?/TPU?): 0.10.4 (gpu)
  • Jax version: 0.4.33
  • JaxLib version: 0.4.33
  • Huggingface_hub version: 0.28.1
  • Transformers version: 4.48.3
  • Accelerate version: 1.3.0
  • PEFT version: 0.14.0
  • Bitsandbytes version: not installed
  • Safetensors version: 0.5.3
  • xFormers version: not installed
  • Accelerator: Tesla T4, 15360 MiB
  • Using GPU in script?: Yes
  • Using distributed or parallel set-up in script?: No

Who can help?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions