Update schedulers.py

This commit is contained in:
l0stl0rd 2024-03-28 22:51:59 +01:00 committed by GitHub
parent 43bcedee10
commit b6e6bdc195
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,7 @@ from diffusers import (
LMSDiscreteScheduler,
PNDMScheduler,
UniPCMultistepScheduler,
TCDScheduler,
)
SCHEDULER_MAP = {
@ -40,4 +41,5 @@ SCHEDULER_MAP = {
"dpmpp_sde_k": (DPMSolverSDEScheduler, {"use_karras_sigmas": True, "noise_sampler_seed": 0}),
"unipc": (UniPCMultistepScheduler, {"cpu_only": True}),
"lcm": (LCMScheduler, {}),
"TCD": (TCDScheduler, {}),
}