mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Update schedulers.py
This commit is contained in:
parent
43bcedee10
commit
b6e6bdc195
@ -14,6 +14,7 @@ from diffusers import (
|
|||||||
LMSDiscreteScheduler,
|
LMSDiscreteScheduler,
|
||||||
PNDMScheduler,
|
PNDMScheduler,
|
||||||
UniPCMultistepScheduler,
|
UniPCMultistepScheduler,
|
||||||
|
TCDScheduler,
|
||||||
)
|
)
|
||||||
|
|
||||||
SCHEDULER_MAP = {
|
SCHEDULER_MAP = {
|
||||||
@ -40,4 +41,5 @@ SCHEDULER_MAP = {
|
|||||||
"dpmpp_sde_k": (DPMSolverSDEScheduler, {"use_karras_sigmas": True, "noise_sampler_seed": 0}),
|
"dpmpp_sde_k": (DPMSolverSDEScheduler, {"use_karras_sigmas": True, "noise_sampler_seed": 0}),
|
||||||
"unipc": (UniPCMultistepScheduler, {"cpu_only": True}),
|
"unipc": (UniPCMultistepScheduler, {"cpu_only": True}),
|
||||||
"lcm": (LCMScheduler, {}),
|
"lcm": (LCMScheduler, {}),
|
||||||
|
"TCD": (TCDScheduler, {}),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user