huggingface / huggingface/diffusers
error in using EDMDPMSolverMultistepScheduler in kolors model
- Dominant language
- Python
- Stars
- 34.5k
- Forks
- 7.3k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 91
Description
Hi
I want to change kolors default sampler ( euler ) to EDM according [link](https://huggingface.co/Kwai-Kolors/Kolors-diffusers) in below code but my result output image is noise.
```
from diffusers import KolorsPipeline,EDMDPMSolverMultistepScheduler
import torch
pipe = KolorsPipeline.from_pretrained(
"Kwai-Kolors/Kolors-diffusers",
torch_dtype=torch.float16,
variant="fp16",
use_safetensors = True
).to("cuda:3")
pipe.scheduler = EDMDPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
prompt = 'a man'
image = pipe(
prompt=prompt,
negative_prompt="",
guidance_scale=5.0,
num_inference_steps=25,
).images[0]
image.save('result.png')
```
my terminal output :

and final image :

Thanks
Contributor guide
Assessment
This issue has not been assessed yet.