huggingface / huggingface/diffusers

error in using EDMDPMSolverMultistepScheduler in kolors model

Abierto
#8,997 1 comentario 0 reacciones 0 asignados Ver en GitHub
stale
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 :

![Screenshot from 2024-07-28 09-56-50](https://github.com/user-attachments/assets/529068fc-1ee6-4153-b758-aa29931b3605)

and final image :

![result](https://github.com/user-attachments/assets/15fff994-2f6f-49c7-8931-f356c012b631)

Thanks

Guía de contribución

Abrir la 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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.