huggingface / huggingface/diffusers
error in using EDMDPMSolverMultistepScheduler in kolors model
- Lingua principale
- Python
- Stelle
- 34.5k
- Fork
- 7.3k
- Merge medio
- 3g 3h
- PR unite (30g)
- 91
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python, pytorch
- Ambito
- machine-learning
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100