huggingface / huggingface/diffusers
error in using EDMDPMSolverMultistepScheduler in kolors model
- Lenguaje dominante
- Python
- Estrellas
- 34.5k
- Forks
- 7.3k
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 91
Descripción
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
Guía de contribución
Línea de trabajo
Start with the provided KolorsPipeline example and the EDMDPMSolverMultistepScheduler.from_config call, then run the 25-step generation to reproduce the noisy output. Compare the result with the pipeline's default scheduler and review the linked Kolors-diffusers model guidance. Done means identifying whether the scheduler configuration is compatible with Kolors and documenting or fixing the noisy result.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python, pytorch
- Área
- machine-learning
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100